Skip to content

Instantly share code, notes, and snippets.

Avatar

Justin Swart justinswart

View GitHub Profile
View Amazons3Uploader.swift
import Foundation
import RxSwift
import MobileCoreServices.UTType
public enum AmazonS3UploadError: Error {
case uploadFailed
}
public final class AmazonS3Uploader: NSObject, AmazonS3UploaderType {
private var uploadProgressSubject: PublishSubject<(Float, AmazonS3UploadTask)>?
View gist:571f98ffdb7fba08f97af4f2b9398a02
### Keybase proof
I hereby claim:
* I am justinswart on github.
* I am justinswart (https://keybase.io/justinswart) on keybase.
* I have a public key ASC2cj4lkqOLlOM0GxrDZRW-2JGgWoTePOLiz5siP5cR5go
To claim this, I am signing this object:
You can’t perform that action at this time.