SDWebImageManager uses the shared instance of SDWebImageDownloader. This was requested by several developers for easier setup of their downloads. Replaces #486

This commit is contained in:
Bogdan Poplauschi 2014-06-16 18:21:06 +03:00
parent 22782052a1
commit 0772019e4d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
- (id)init {
if ((self = [super init])) {
_imageCache = [self createCache];
_imageDownloader = [SDWebImageDownloader new];
_imageDownloader = [SDWebImageDownloader sharedDownloader];
_failedURLs = [NSMutableArray new];
_runningOperations = [NSMutableArray new];
}