Marked the `SDWebImageManager` `initWithCache:downloader:` as designated initializer.
This commit is contained in:
parent
d2f041b777
commit
beb1717a4f
|
@ -192,7 +192,7 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager];
|
||||||
* Allows to specify instance of cache and image downloader used with image manager.
|
* Allows to specify instance of cache and image downloader used with image manager.
|
||||||
* @return new instance of `SDWebImageManager` with specified cache and downloader.
|
* @return new instance of `SDWebImageManager` with specified cache and downloader.
|
||||||
*/
|
*/
|
||||||
- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader;
|
- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader NS_DESIGNATED_INITIALIZER;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Downloads the image at the given URL if not present in cache or return the cached version otherwise.
|
* Downloads the image at the given URL if not present in cache or return the cached version otherwise.
|
||||||
|
|
Loading…
Reference in New Issue