Created
March 29, 2014 13:40
-
-
Save mkll/9854657 to your computer and use it in GitHub Desktop.
How to get filesystem path to image cached by SDWebImage? There are private SDImageCache methods, so just make these methods public with category. Add the file below to your project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "SDImageCache.h" | |
@interface SDImageCache (PrivateMethods) | |
- (NSString *)defaultCachePathForKey:(NSString *)key; | |
- (NSString *)cachedFileNameForKey:(NSString *)key; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment