Update the test about download operation, which using protocol instead of class
This commit is contained in:
parent
73c811dc23
commit
1d7dba33f5
|
@ -13,3 +13,8 @@
|
|||
- (void)cancel;
|
||||
|
||||
@end
|
||||
|
||||
// NSOperation conform to `SDWebImageOperation`
|
||||
@interface NSOperation (SDWebImageOperation) <SDWebImageOperation>
|
||||
|
||||
@end
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
- (nullable SDWebImageDownloadToken *)addProgressCallback:(SDWebImageDownloaderProgressBlock)progressBlock
|
||||
completedBlock:(SDWebImageDownloaderCompletedBlock)completedBlock
|
||||
forURL:(nullable NSURL *)url
|
||||
createCallback:(SDWebImageDownloaderOperation *(^)(void))createCallback;
|
||||
createCallback:(NSOperation<SDWebImageDownloaderOperation> *(^)(void))createCallback;
|
||||
@end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue