Skip to content

Instantly share code, notes, and snippets.

View justinswart's full-sized avatar

Justin Swart justinswart

View GitHub Profile
### 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:
@justinswart
justinswart / Amazons3Uploader.swift
Created March 14, 2018 18:32
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)>?