Marked the `SDWebImageManager` `initWithCache:downloader:` as designated initializer.

This commit is contained in:
Bogdan Poplauschi 2016-10-07 12:54:20 +03:00
parent d2f041b777
commit beb1717a4f
1 changed files with 1 additions and 1 deletions

View File

@ -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.