Change SDWebImageManager to use shared image cache

This commit is contained in:
Alex Burgel 2013-01-04 16:45:09 -05:00
parent c876cafa7a
commit cfb65f2d75
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
{ {
if ((self = [super init])) if ((self = [super init]))
{ {
_imageCache = SDImageCache.new; _imageCache = [SDImageCache sharedImageCache];
_imageDownloader = SDWebImageDownloader.new; _imageDownloader = SDWebImageDownloader.new;
_failedURLs = NSMutableArray.new; _failedURLs = NSMutableArray.new;
_runningOperations = NSMutableArray.new; _runningOperations = NSMutableArray.new;