Latest 0.2
Homepage https://github.com/maximbilan/MBFileDownloader
License MIT
Platforms ios 6.0, requires ARC
Authors

Version
License
Platform

Simple file downloader for iOS based on NSURLConnection.
Downloader writes the data into file, not into memory.

How to install

CocoaPods:

pod 'MBFileDownloader'

Manual:

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);
}];

License

MBFileDownloader is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "MBFileDownloader",
    "version": "0.2",
    "summary": "File Downloader",
    "description": "Simple file downloader for iOS based on NSURLConnection. Downloader writes the data into file, not into memory.",
    "homepage": "https://github.com/maximbilan/MBFileDownloader",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Maxim Bilan": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/maximbilan/MBFileDownloader.git",
        "tag": "0.2"
    },
    "source_files": [
        "Classes",
        "MBFileDownloader/Sources/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This