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);
136
136
* @param key The unique image cache key
137
137
* @param completionBlock An block that should be executed after the image has been removed (optional)
138
138
*/
139
- - (void )removeImageForKey : (NSString *)key withCompletition : (void (^)())completion ;
139
+ - (void )removeImageForKey : (NSString *)key withCompletion : (void (^)())completion ;
140
140
141
141
/* *
142
142
* Remove the image from memory and optionally disk cache synchronously
@@ -153,7 +153,7 @@ typedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache);
153
153
* @param fromDisk Also remove cache entry from disk if YES
154
154
* @param completionBlock An block that should be executed after the image has been removed (optional)
155
155
*/
156
- - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletition : (void (^)())completion ;
156
+ - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletion : (void (^)())completion ;
157
157
158
158
/* *
159
159
* 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
316
316
}
317
317
318
318
- (void )removeImageForKey : (NSString *)key {
319
- [self removeImageForKey: key withCompletition :nil ];
319
+ [self removeImageForKey: key withCompletion :nil ];
320
320
}
321
321
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];
324
324
}
325
325
326
326
- (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk {
327
- [self removeImageForKey: key fromDisk: fromDisk withCompletition :nil ];
327
+ [self removeImageForKey: key fromDisk: fromDisk withCompletion :nil ];
328
328
}
329
329
330
- - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletition : (void (^)())completion {
330
+ - (void )removeImageForKey : (NSString *)key fromDisk : (BOOL )fromDisk withCompletion : (void (^)())completion {
331
331
332
332
if (key == nil ) {
333
333
return ;
You can’t perform that action at this time.
0 commit comments