Skip to content

Commit 4c51485

Browse files
author
Olivier Poitrey
committed
Merge pull request SDWebImage#344 from Kapin/master
Fixing comments to better reflect how methods work and some typo fixes
2 parents f04b4a0 + 7779896 commit 4c51485

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SDWebImage/SDImageCache.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,35 +81,35 @@ typedef enum SDImageCacheType SDImageCacheType;
8181
- (void)storeImage:(UIImage *)image imageData:(NSData *)data forKey:(NSString *)key toDisk:(BOOL)toDisk;
8282

8383
/**
84-
* Query the disk cache asynchronousely.
84+
* Query the disk cache asynchronously.
8585
*
8686
* @param key The unique key used to store the wanted image
8787
*/
8888
- (void)queryDiskCacheForKey:(NSString *)key done:(void (^)(UIImage *image, SDImageCacheType cacheType))doneBlock;
8989

9090
/**
91-
* Query the memory cache.
91+
* Query the memory cache synchronously.
9292
*
9393
* @param key The unique key used to store the wanted image
9494
*/
9595
- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key;
9696

9797
/**
98-
* Query the disk cache synchronousely.
98+
* Query the disk cache synchronously after checking the memory cache.
9999
*
100100
* @param key The unique key used to store the wanted image
101101
*/
102102
- (UIImage *)imageFromDiskCacheForKey:(NSString *)key;
103103

104104
/**
105-
* Remove the image from memory and disk cache synchronousely
105+
* Remove the image from memory and disk cache synchronously
106106
*
107107
* @param key The unique image cache key
108108
*/
109109
- (void)removeImageForKey:(NSString *)key;
110110

111111
/**
112-
* Remove the image from memory and optionaly disk cache synchronousely
112+
* Remove the image from memory and optionaly disk cache synchronously
113113
*
114114
* @param key The unique image cache key
115115
* @param fromDisk Also remove cache entry from disk if YES

0 commit comments

Comments
 (0)