File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ typedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache);
136136 * @param key The unique image cache key
137137 * @param completionBlock An block that should be executed after the image has been removed (optional)
138138 */
139- - (void )removeImageForKey : (NSString *)key withCompletition : (void (^)())completion ;
139+ - (void )removeImageForKey : (NSString *)key withCompletion : (void (^)())completion ;
140140
141141/* *
142142 * Remove the image from memory and optionally disk cache synchronously
@@ -153,7 +153,7 @@ typedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache);
153153 * @param fromDisk Also remove cache entry from disk if YES
154154 * @param completionBlock An block that should be executed after the image has been removed (optional)
155155 */
156- - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletition : (void (^)())completion ;
156+ - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletion : (void (^)())completion ;
157157
158158/* *
159159 * Clear all memory cached images
Original file line number Diff line number Diff line change @@ -316,18 +316,18 @@ - (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(void (^)(UIImage *im
316316}
317317
318318- (void )removeImageForKey : (NSString *)key {
319- [self removeImageForKey: key withCompletition :nil ];
319+ [self removeImageForKey: key withCompletion :nil ];
320320}
321321
322- - (void )removeImageForKey : (NSString *)key withCompletition : (void (^)())completion {
323- [self removeImageForKey: key fromDisk: YES withCompletition : completion];
322+ - (void )removeImageForKey : (NSString *)key withCompletion : (void (^)())completion {
323+ [self removeImageForKey: key fromDisk: YES withCompletion : completion];
324324}
325325
326326- (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk {
327- [self removeImageForKey: key fromDisk: fromDisk withCompletition :nil ];
327+ [self removeImageForKey: key fromDisk: fromDisk withCompletion :nil ];
328328}
329329
330- - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletition : (void (^)())completion {
330+ - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletion : (void (^)())completion {
331331
332332 if (key == nil ) {
333333 return ;
You can’t perform that action at this time.
0 commit comments