Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 562 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 562 Bytes

NEDownloader

  • NEDownloader support Breakpoint continuingly

downloadExample

sample code

  • rsume
__weak typeof(self) weakSelf = self;
self.downloader = [[NEDownloader alloc]init];
[self.downloader startWithURL:url progressHandler:^(long long completedUnitCount, long long totalUnitCount) {

} completeBlock:^(NSString *filePath, NSString *url, BOOL completed, NSError *error) {

}];
  • suspend
[self.downloader suspend];