فهرست منبع

Merge pull request #265 from ealeksandrov/patch-1

Add cacheType to completionHandler in README
Wei Wang 10 سال پیش
والد
کامیت
955b5369da
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -226,7 +226,7 @@ imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!,
                             progressBlock: { (receivedSize, totalSize) -> () in
                             progressBlock: { (receivedSize, totalSize) -> () in
                                 print("Download Progress: \(receivedSize)/\(totalSize)")
                                 print("Download Progress: \(receivedSize)/\(totalSize)")
                             },
                             },
-                        completionHandler: { (image, error, imageURL) -> () in
+                        completionHandler: { (image, error, cacheType, imageURL) -> () in
                             print("Downloaded and set!")
                             print("Downloaded and set!")
                         }
                         }
 )
 )