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:
parent
22782052a1
commit
0772019e4d
|
@ -40,7 +40,7 @@
|
||||||
- (id)init {
|
- (id)init {
|
||||||
if ((self = [super init])) {
|
if ((self = [super init])) {
|
||||||
_imageCache = [self createCache];
|
_imageCache = [self createCache];
|
||||||
_imageDownloader = [SDWebImageDownloader new];
|
_imageDownloader = [SDWebImageDownloader sharedDownloader];
|
||||||
_failedURLs = [NSMutableArray new];
|
_failedURLs = [NSMutableArray new];
|
||||||
_runningOperations = [NSMutableArray new];
|
_runningOperations = [NSMutableArray new];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue