onevcat 10 年 前
コミット
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
         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