Merge pull request #850 from tonyarnold/fix-comment-documentation
Fix misnamed parameters in comment documentation
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -136,7 +136,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot | @@ -136,7 +136,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot | ||
136 | * Remove the image from memory and disk cache synchronously | 136 | * Remove the image from memory and disk cache synchronously |
137 | * | 137 | * |
138 | * @param key The unique image cache key | 138 | * @param key The unique image cache key |
139 | - * @param completionBlock An block that should be executed after the image has been removed (optional) | 139 | + * @param completion An block that should be executed after the image has been removed (optional) |
140 | */ | 140 | */ |
141 | - (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion; | 141 | - (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion; |
142 | 142 | ||
@@ -153,7 +153,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot | @@ -153,7 +153,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot | ||
153 | * | 153 | * |
154 | * @param key The unique image cache key | 154 | * @param key The unique image cache key |
155 | * @param fromDisk Also remove cache entry from disk if YES | 155 | * @param fromDisk Also remove cache entry from disk if YES |
156 | - * @param completionBlock An block that should be executed after the image has been removed (optional) | 156 | + * @param completion An block that should be executed after the image has been removed (optional) |
157 | */ | 157 | */ |
158 | - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion; | 158 | - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion; |
159 | 159 | ||
@@ -164,7 +164,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot | @@ -164,7 +164,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot | ||
164 | 164 | ||
165 | /** | 165 | /** |
166 | * Clear all disk cached images. Non-blocking method - returns immediately. | 166 | * Clear all disk cached images. Non-blocking method - returns immediately. |
167 | - * @param completionBlock An block that should be executed after cache expiration completes (optional) | 167 | + * @param completion An block that should be executed after cache expiration completes (optional) |
168 | */ | 168 | */ |
169 | - (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion; | 169 | - (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion; |
170 | 170 |
-
Please register or login to post a comment