From 38706d0962a84a16c28badc5bcbf33245c9e434d Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Thu, 17 Sep 2015 14:22:29 -0700 Subject: [PATCH] Fix nullability in ASImageDownloaderProtocol completion handler --- 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 f0720d51db..2235dafe17 100644 --- a/AsyncDisplayKit/Details/ASImageProtocols.h +++ b/AsyncDisplayKit/Details/ASImageProtocols.h @@ -52,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN - (id)downloadImageWithURL:(nullable NSURL *)URL callbackQueue:(nullable dispatch_queue_t)callbackQueue downloadProgressBlock:(void (^ _Nullable)(CGFloat progress))downloadProgressBlock - completion:(void (^ _Nullable)(CGImageRef image, NSError *error))completion; + completion:(void (^ _Nullable)(CGImageRef _Nullable image, NSError * _Nullable error))completion; /** @abstract Cancels an image download.