Jelajahi Sumber

Merge pull request #265 from ealeksandrov/patch-1

Add cacheType to completionHandler in README
Wei Wang 10 tahun lalu
induk
melakukan
955b5369da
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
                                 print("Download Progress: \(receivedSize)/\(totalSize)")
                             },
-                        completionHandler: { (image, error, imageURL) -> () in
+                        completionHandler: { (image, error, cacheType, imageURL) -> () in
                             print("Downloaded and set!")
                         }
 )