Explorar el Código

Merge pull request #265 from ealeksandrov/patch-1

Add cacheType to completionHandler in README
Wei Wang hace 10 años
padre
commit
955b5369da
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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!")
                         }
 )