diff --git a/AsyncDisplayKit/ASDisplayNode+Subclasses.h b/AsyncDisplayKit/ASDisplayNode+Subclasses.h index 3ecd08e1d6..7f94e3f28a 100644 --- a/AsyncDisplayKit/ASDisplayNode+Subclasses.h +++ b/AsyncDisplayKit/ASDisplayNode+Subclasses.h @@ -193,7 +193,7 @@ NS_ASSUME_NONNULL_BEGIN * @note Called on the display queue and/or main queue (MUST BE THREAD SAFE) */ + (void)drawRect:(CGRect)bounds - withParameters:(id)parameters + withParameters:(nullable id)parameters isCancelled:(asdisplaynode_iscancelled_block_t)isCancelledBlock isRasterizing:(BOOL)isRasterizing; @@ -210,7 +210,7 @@ NS_ASSUME_NONNULL_BEGIN * * @note Called on the display queue and/or main queue (MUST BE THREAD SAFE) */ -+ (nullable UIImage *)displayWithParameters:(id)parameters ++ (nullable UIImage *)displayWithParameters:(nullable id)parameters isCancelled:(asdisplaynode_iscancelled_block_t)isCancelledBlock; /** @@ -220,7 +220,7 @@ NS_ASSUME_NONNULL_BEGIN * * @note Called on the main thread only */ -- (NSObject *)drawParametersForAsyncLayer:(_ASDisplayLayer *)layer; +- (nullable id)drawParametersForAsyncLayer:(_ASDisplayLayer *)layer; /** * @abstract Indicates that the receiver is about to display.