...
|
...
|
@@ -100,7 +100,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot |
|
|
*
|
|
|
* @param image The image to store
|
|
|
* @param key The unique image cache key, usually it's image absolute URL
|
|
|
* @param completion A block executed after the operation is finished
|
|
|
* @param completionBlock A block executed after the operation is finished
|
|
|
*/
|
|
|
- (void)storeImage:(nullable UIImage *)image
|
|
|
forKey:(nullable NSString *)key
|
...
|
...
|
@@ -112,7 +112,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot |
|
|
* @param image The image to store
|
|
|
* @param key The unique image cache key, usually it's image absolute URL
|
|
|
* @param toDisk Store the image to disk cache if YES
|
|
|
* @param completion A block executed after the operation is finished
|
|
|
* @param completionBlock A block executed after the operation is finished
|
|
|
*/
|
|
|
- (void)storeImage:(nullable UIImage *)image
|
|
|
forKey:(nullable NSString *)key
|
...
|
...
|
@@ -128,7 +128,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot |
|
|
* to save quality and CPU
|
|
|
* @param key The unique image cache key, usually it's image absolute URL
|
|
|
* @param toDisk Store the image to disk cache if YES
|
|
|
* @param completion A block executed after the operation is finished
|
|
|
* @param completionBlock A block executed after the operation is finished
|
|
|
*/
|
|
|
- (void)storeImage:(nullable UIImage *)image
|
|
|
imageData:(nullable NSData *)imageData
|
...
|
...
|
|