MRJDownloadManager 0.0.10

MRJDownloadManager 0.0.10

Maintained by YHJ.



DownloadManager

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

/*
 * url 具体的下载URL
 * progress 下载进度回调
 * complete 下载完成后回调下载路径
 * errorMsg 下载出错回调错误信息
 */
- (void)downLoadWithUrl:(NSURL *)url progress:(void (^)(float progress))progress complete:(void (^)(NSString *filePath))complete errorMsg:(void(^)(NSString *errorMsg))errorMsg;
/*
 * 暂停下载
 */
- (void)pause;

Requirements

Installation

DownloadManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DownloadManager'

Author

[email protected], [email protected]

License

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

DownloadManager