From 94217b294ccd75a34787eb04d6e273e99536e45b Mon Sep 17 00:00:00 2001 From: 重庆迈尖科技有限公司 Date: 星期三, 30 一月 2019 15:12:32 +0800 Subject: [PATCH] no message --- Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h b/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h index b190855..d0c5815 100644 --- a/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h +++ b/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h @@ -10,15 +10,16 @@ #import "SDWebImageDownloader.h" #import "SDWebImageOperation.h" -extern NSString * _Nonnull const SDWebImageDownloadStartNotification; -extern NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification; -extern NSString * _Nonnull const SDWebImageDownloadStopNotification; -extern NSString * _Nonnull const SDWebImageDownloadFinishNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadFinishNotification; /** Describes a downloader operation. If one wants to use a custom downloader op, it needs to inherit from `NSOperation` and conform to this protocol + For the description about these methods, see `SDWebImageDownloaderOperation` */ @protocol SDWebImageDownloaderOperationInterface<NSObject> @@ -34,6 +35,8 @@ - (nullable NSURLCredential *)credential; - (void)setCredential:(nullable NSURLCredential *)value; + +- (BOOL)cancel:(nullable id)token; @end @@ -60,7 +63,7 @@ @property (nonatomic, assign) BOOL shouldUseCredentialStorage __deprecated_msg("Property deprecated. Does nothing. Kept only for backwards compatibility"); /** - * The credential used for authentication challenges in `-connection:didReceiveAuthenticationChallenge:`. + * The credential used for authentication challenges in `-URLSession:task:didReceiveChallenge:completionHandler:`. * * This will be overridden by any shared credentials that exist for the username or password of the request URL, if present. */ @@ -77,7 +80,7 @@ @property (assign, nonatomic) NSInteger expectedSize; /** - * The response returned by the operation's connection. + * The response returned by the operation's task. */ @property (strong, nonatomic, nullable) NSURLResponse *response; -- Gitblit v1.8.0