CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Apr 2015 |
Maintained by Maxim Bilan.
Simple file downloader for iOS based on NSURLConnection.
Downloader writes the data into file, not into memory.
How to install:
Using Cocoapods:
pod 'MBFileDownloader'
Or just copy the following files into your project:
MBFileDownloader.h MBFileDownloader.mm
How to use:
MBFileDownloader *fileDownloader = [[MBFileDownloader alloc] initWithURL:url toFilePath:filePath];
[fileDownloader downloadWithSuccess:^{
NSLog(@"success");
} update:^(float value) {
NSLog(@"%f", value);
} failure:^(NSError *error) {
NSLog(@"%@", error);
}];