Print

SRDownl毕业设计oadManager

设计辅导Qq:1052602713


项目介绍:

SRDownloadManagerFeatures

Provides download status callback, download progress callback, download complete callback.

Support multi-task at the same time to download.

Support breakpoint to continue to download, even exit the App.

Support to delete the specified file by URL and clear all files that have been downloaded.

More please see the demo...

提供下载状态回调, 下载进度回调, 下载完成回调.

支持多任务同时下载.

支持断点下载, 即使退出重启 App.

支持通过 URL 删除指定文件和清除所有已下载的文件.

更多请看 demo...

Show Pictures

APIs+ (instancetype)sharedManager; - (void)download:(NSURL *)URL state:(void(^)(SRDownloadState state))state progress:(void(^)(NSInteger receivedSize, NSInteger expectedSize, CGFloat progress))progress completion:(void(^)(BOOL isSuccess, NSString *filePath, NSError *error))completion; - (BOOL)isCompleted:(NSURL *)URL; - (NSString *)fileFullPath:(NSURL *)URL; - (CGFloat)progress:(NSURL *)URL; - (void)deleteFile:(NSURL *)URL; - (void)deleteAllFiles;

If you have any question, please issue or contact me.
If this repo helps you, please give it a star.
Have Fun.

SRDownloadManager
1.提供下载状态回调, 下载进度回调, 下载完成回调.
2.支持多任务同时下载.
3.支持断点下载, 即使退出重启 App.
4.支持通过 URL 删除指定文件和清除所有已下载的文件.
5.更多请看 demo...
GitHub: https://github.com/guowilling/SRDownloadManager
Have Fun.

开题报告开题报告