fix typos in SDImageCache

This commit is contained in:
Wentao Liu 2020-08-31 19:03:05 +08:00
parent c0a9b4af09
commit 70a57758c0
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ static NSString * _defaultDiskCacheDirectory;
});
}
// Make sure to call form io queue by caller
// Make sure to call from io queue by caller
- (void)_storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {
if (!imageData || !key) {
return;
@ -316,7 +316,7 @@ static NSString * _defaultDiskCacheDirectory;
return exists;
}
// Make sure to call form io queue by caller
// Make sure to call from io queue by caller
- (BOOL)_diskImageDataExistsWithKey:(nullable NSString *)key {
if (!key) {
return NO;