|
@@ -86,6 +86,11 @@ typedef NS_ENUM(NSInteger, AFImageDownloadPrioritization) {
|
|
|
*/
|
|
|
+ (void) setDefaultURLCache:(NSURLCache *)defaultCache;
|
|
|
|
|
|
+/**
|
|
|
+ The default `NSURLSessionConfiguration` with common usage parameter values.
|
|
|
+ */
|
|
|
++ (NSURLSessionConfiguration *)defaultURLSessionConfiguration;
|
|
|
+
|
|
|
/**
|
|
|
Default initializer
|
|
|
|
|
@@ -93,6 +98,15 @@ typedef NS_ENUM(NSInteger, AFImageDownloadPrioritization) {
|
|
|
*/
|
|
|
- (instancetype)init;
|
|
|
|
|
|
+/**
|
|
|
+ Initializer with specific `URLSessionConfiguration`
|
|
|
+
|
|
|
+ @param configuration The `NSURLSessionConfiguration` to be be used
|
|
|
+
|
|
|
+ @return An instance of `AFImageDownloader` initialized with default values and custom `NSURLSessionConfiguration`
|
|
|
+ */
|
|
|
+- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration;
|
|
|
+
|
|
|
/**
|
|
|
Initializes the `AFImageDownloader` instance with the given session manager, download prioritization, maximum active download count and image cache.
|
|
|
|