DirectoryUploader
Monitors a directory and automatically detects new files added to it. Uploads all files to a target URL, and cleans up afterwards.
Installation
CocoaPods:
pod 'DirectoryUploader'
Manually:
Copy Sources/*
to your Xcode project.
Usage
let uploader = DirectoryUploader(sourceDirectory: docDir, targetURL: endpointURL)
// now save files to docDir, and they will be automatically uploaded to endpointURL.