Digger
Digger copied to clipboard
Digger is a lightweight download framework that requires only one line of code to complete the file download task
Swift 5
https://github.com/cornerAnt/Digger/network Hi @cornerAnt This is a great library - but colleagues are turned off that it's not been updated in a long time. Please grab the usernames from network that...
Since upgrading to Swift 5, I get the following errors: `valuePointer.deinitialize() //'deinitialize()' is unavailable: the default argument to deinitialize(count:) has been removed, please specify the count explicitly` `valuePointer.deallocate(capacity: 1) //'deallocate(capacity:)'...
have you support for that library yet?
Anyone else able to change the cachesDirectory? This has no effect: `DiggerCache.cachesDirectory = "custom_name"` All downloads end up in a folder called "Digger" no matter what I set.
API need post request by JWT How can I add jwt to request By Digger Thank you
``` Digger.download(self.fileurl.absoluteString) .progress { progress in print(progress.fractionCompleted) } .completion { result in switch result { case .success(let url): print(url) case .failure(let error): print(error) } } ``` Testing on ios 9.1...
2019-09-25 21:23:43.031411+0500 DownlloadingAudio[62336:476680] Task . load failed with error Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://staging-cmolds.com/masjideaisha/admin/public/collection/yaseen/audio.mp3, NSErrorFailingURLKey=https://staging-cmolds.com/masjideaisha/admin/public/collection/yaseen/audio.mp3, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask ." ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask ., NSLocalizedDescription=cancelled} [-999] ***************DiggerLog**************** file : DiggerDelegate.swift method : notifyCompletionCallback(_:_:)...