From 70a57758c0e63729979eaefca1f0fbdc1a8a96e1 Mon Sep 17 00:00:00 2001 From: Wentao Liu Date: Mon, 31 Aug 2020 19:03:05 +0800 Subject: [PATCH] fix typos in SDImageCache --- SDWebImage/Core/SDImageCache.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDWebImage/Core/SDImageCache.m b/SDWebImage/Core/SDImageCache.m index c2f18a9d..7b18b1a8 100644 --- a/SDWebImage/Core/SDImageCache.m +++ b/SDWebImage/Core/SDImageCache.m @@ -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;