|
@@ -113,10 +113,10 @@ public extension UIImageView {
|
|
|
image = placeHolderImage
|
|
image = placeHolderImage
|
|
|
|
|
|
|
|
self.kf_setWebURL(URL)
|
|
self.kf_setWebURL(URL)
|
|
|
- let task = KingfisherManager.sharedManager.retriveImageWithURL(URL, options: options, progressBlock: { (recivedSize, totalSize) -> () in
|
|
|
|
|
|
|
+ let task = KingfisherManager.sharedManager.retriveImageWithURL(URL, options: options, progressBlock: { (receivedSize, totalSize) -> () in
|
|
|
if let progressBlock = progressBlock {
|
|
if let progressBlock = progressBlock {
|
|
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
|
dispatch_async(dispatch_get_main_queue(), { () -> Void in
|
|
|
- progressBlock(receivedSize: recivedSize, totalSize: totalSize)
|
|
|
|
|
|
|
+ progressBlock(receivedSize: receivedSize, totalSize: totalSize)
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}) { (image, error, imageURL) -> () in
|
|
}) { (image, error, imageURL) -> () in
|