From fd3a90a3ed40a8d49d41bc83cb214d548bf62c5c Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Thu, 17 Sep 2015 14:56:39 -0700 Subject: [PATCH] Make image download token optional --- AsyncDisplayKit/Details/ASImageProtocols.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsyncDisplayKit/Details/ASImageProtocols.h b/AsyncDisplayKit/Details/ASImageProtocols.h index 8a235083ca..ba04eaaa75 100644 --- a/AsyncDisplayKit/Details/ASImageProtocols.h +++ b/AsyncDisplayKit/Details/ASImageProtocols.h @@ -47,7 +47,7 @@ NS_ASSUME_NONNULL_BEGIN @result An opaque identifier to be used in canceling the download, via `cancelImageDownloadForIdentifier:`. You must retain the identifier if you wish to use it later. */ -- (id)downloadImageWithURL:(NSURL *)URL +- (nullable id)downloadImageWithURL:(NSURL *)URL callbackQueue:(nullable dispatch_queue_t)callbackQueue downloadProgressBlock:(void (^ _Nullable)(CGFloat progress))downloadProgressBlock completion:(void (^ _Nullable)(CGImageRef _Nullable image, NSError * _Nullable error))completion;