测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可证 | MIT |
发布上次发布 | 2017年9月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由 ALVIN-YANG 维护。
LQDownloadManager 是一款 Swift 编写的下载管理器,支持后台模式。
从仓库克隆,运行示例项目。
CocoaPods 1.0.0+ 是构建 LQDownloadManager 所必需的。
要将 LQDownloadManager 集成到您的 Xcode 项目中,请使用 CocoaPods,并在您的 Podfile
中指定它。
pod "LQDownloadManager"
LQDownloadManager.shared.download("#download file url string#", progress: { progress in
print("progress: \(progress)")
}) { status in
switch status {
case .start:
...
case .suspend:
...
case .complete:
...
case .failed:
...
}
}
Email: [email protected]
weibo: 青木KON
MarkyMark 可在 MIT 许可证下使用。有关更多信息,请参阅 LICENSE 文件。