From a31b9d46a1ba823a34c91648c3c9428d5776c3e5 Mon Sep 17 00:00:00 2001 From: Tony Arnold Date: Mon, 11 Aug 2014 17:27:05 +1000 Subject: [PATCH] Fix misnamed parameters in comment documentation --- SDWebImage/SDImageCache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SDWebImage/SDImageCache.h b/SDWebImage/SDImageCache.h index bde9d5dd..62894a15 100644 --- a/SDWebImage/SDImageCache.h +++ b/SDWebImage/SDImageCache.h @@ -136,7 +136,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot * Remove the image from memory and disk cache synchronously * * @param key The unique image cache key - * @param completionBlock An block that should be executed after the image has been removed (optional) + * @param completion An block that should be executed after the image has been removed (optional) */ - (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion; @@ -153,7 +153,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot * * @param key The unique image cache key * @param fromDisk Also remove cache entry from disk if YES - * @param completionBlock An block that should be executed after the image has been removed (optional) + * @param completion An block that should be executed after the image has been removed (optional) */ - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion; @@ -164,7 +164,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot /** * Clear all disk cached images. Non-blocking method - returns immediately. - * @param completionBlock An block that should be executed after cache expiration completes (optional) + * @param completion An block that should be executed after cache expiration completes (optional) */ - (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion;