# LBDownLoadManager **Repository Path**: liuboliu/lbdown-load-manager ## Basic Information - **Project Name**: LBDownLoadManager - **Description**: 一个方便使用的iOS下载工具 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-18 - **Last Updated**: 2023-06-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: iOS下载工具 ## README # LBDownLoadManager [![CI Status](https://img.shields.io/travis/liubo/LBDownLoadManager.svg?style=flat)](https://travis-ci.org/liubo/LBDownLoadManager) [![Version](https://img.shields.io/cocoapods/v/LBDownLoadManager.svg?style=flat)](https://cocoapods.org/pods/LBDownLoadManager) [![License](https://img.shields.io/cocoapods/l/LBDownLoadManager.svg?style=flat)](https://cocoapods.org/pods/LBDownLoadManager) [![Platform](https://img.shields.io/cocoapods/p/LBDownLoadManager.svg?style=flat)](https://cocoapods.org/pods/LBDownLoadManager) ## Example To run the example project, clone the repo, and run `pod install` from the Example directory first. ## Requirements ## Installation LBDownLoadManager is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby pod 'LBDownLoadManager' ``` ## 用法 ``` NSString *downloadUrl = @""; LBDownLoadManager *manger = [[LBDownLoadManager alloc]init]; [manger downLoader:[NSURL URLWithString:downloadUrl] downloadPath:CachePath tempPath:kTmpPath downLoadInfo:^(long long totalSize) { NSLog(@"下载信息:%lld",totalSize); } progress:^(float progress) { NSLog(@"下载进度:%f",progress); } success:^(NSString *cachePath) { NSLog(@"下载成功路径:%@",cachePath); } failed:^{ NSLog(@"下载失败"); }]; ``` ## Author liubo, 2534660131@qq.com ## License LBDownLoadManager is available under the MIT license. See the LICENSE file for more info.