Marked the `SDWebImageManager` `initWithCache:downloader:` as designated initializer.
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -192,7 +192,7 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; | @@ -192,7 +192,7 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; | ||
192 | * Allows to specify instance of cache and image downloader used with image manager. | 192 | * Allows to specify instance of cache and image downloader used with image manager. |
193 | * @return new instance of `SDWebImageManager` with specified cache and downloader. | 193 | * @return new instance of `SDWebImageManager` with specified cache and downloader. |
194 | */ | 194 | */ |
195 | -- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader; | 195 | +- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader NS_DESIGNATED_INITIALIZER; |
196 | 196 | ||
197 | /** | 197 | /** |
198 | * Downloads the image at the given URL if not present in cache or return the cached version otherwise. | 198 | * Downloads the image at the given URL if not present in cache or return the cached version otherwise. |
-
Please register or login to post a comment