Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 428 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 428 Bytes

LCDownloadManager

效果

使用

let sd = LCSwiftDownload.sharedInstance
sd.downloadData(url: url, tag: Tag1, resume: button.isSelected, progerss: { (progerssValue) in
DispatchQueue.main.async {
self.label1.text = String(format: "%.2f", progerssValue)
self.pv1.progress = progerssValue

}
}) { (state) in

}