onevcat 10 лет назад
Родитель
Сommit
b916035c2e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Kingfisher/UIImageView+Kingfisher.swift

+ 2 - 2
Kingfisher/UIImageView+Kingfisher.swift

@@ -113,10 +113,10 @@ public extension UIImageView {
         image = placeHolderImage
         
         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 {
                 dispatch_async(dispatch_get_main_queue(), { () -> Void in
-                    progressBlock(receivedSize: recivedSize, totalSize: totalSize)
+                    progressBlock(receivedSize: receivedSize, totalSize: totalSize)
                 })
             }
         }) { (image, error, imageURL) -> () in