I\'m using SDWebImage for image caching at UICollectionView in my iOS app.
Everything is fine, however, when user scrolls fast over the collection view there is alwa
There are private SDImageCache
methods to get filesystem path to cached image. We can make these methods public with a category. Just put the code below into the, say, SDImageCache+Private.h
and add it to your project:
#import "SDImageCache.h"
@interface SDImageCache (PrivateMethods)
- (NSString *)defaultCachePathForKey:(NSString *)key;
- (NSString *)cachedFileNameForKey:(NSString *)key;
@end