From 204dca0e3ee7bb474570ae423ce7a81019a8c458 Mon Sep 17 00:00:00 2001 From: lipengwei <lipengwei@nianben.com> Date: Wed, 27 May 2020 09:45:48 +0800 Subject: [PATCH] 3.8.4 --- frameworks/AFNetworking.framework/Headers/AFImageDownloader.h | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h b/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h old mode 100755 new mode 100644 index 3903eec..3bf5a32 --- a/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h +++ b/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h @@ -67,7 +67,7 @@ /** Defines the order prioritization of incoming download requests being inserted into the queue. `AFImageDownloadPrioritizationFIFO` by default. */ -@property (nonatomic, assign) AFImageDownloadPrioritization downloadPrioritizaton; +@property (nonatomic, assign) AFImageDownloadPrioritization downloadPrioritization; /** The shared default instance of `AFImageDownloader` initialized with default values. @@ -82,6 +82,11 @@ + (NSURLCache *)defaultURLCache; /** + The default `NSURLSessionConfiguration` with common usage parameter values. + */ ++ (NSURLSessionConfiguration *)defaultURLSessionConfiguration; + +/** Default initializer @return An instance of `AFImageDownloader` initialized with default values. @@ -89,6 +94,15 @@ - (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. @param sessionManager The session manager to use to download images. -- Gitblit v1.8.0