Merge pull request #264 from aburgel/use_shared_cache
Change SDWebImageManager to use shared image cache
This commit is contained in:
commit
75cf6a09ae
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue