From fa094388c4155b65739e8c87d049be8c0d78a410 Mon Sep 17 00:00:00 2001 From: Garrett Moon Date: Fri, 14 Apr 2017 14:27:44 -0700 Subject: [PATCH] These are also designated initializers --- Source/ASDisplayNode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/ASDisplayNode.h b/Source/ASDisplayNode.h index 97fcd9756..3352f4efd 100644 --- a/Source/ASDisplayNode.h +++ b/Source/ASDisplayNode.h @@ -136,7 +136,7 @@ extern NSInteger const ASDefaultDrawingPriority; * @return An ASDisplayNode instance that loads its view with the given block that is guaranteed to run on the main * queue. The view will render synchronously and -layout and touch handling methods on the node will not be called. */ -- (instancetype)initWithViewBlock:(ASDisplayNodeViewBlock)viewBlock; +- (instancetype)initWithViewBlock:(ASDisplayNodeViewBlock)viewBlock NS_DESIGNATED_INITIALIZER; /** * @abstract Alternative initializer with a block to create the backing view. @@ -147,7 +147,7 @@ extern NSInteger const ASDefaultDrawingPriority; * @return An ASDisplayNode instance that loads its view with the given block that is guaranteed to run on the main * queue. The view will render synchronously and -layout and touch handling methods on the node will not be called. */ -- (instancetype)initWithViewBlock:(ASDisplayNodeViewBlock)viewBlock didLoadBlock:(nullable ASDisplayNodeDidLoadBlock)didLoadBlock; +- (instancetype)initWithViewBlock:(ASDisplayNodeViewBlock)viewBlock didLoadBlock:(nullable ASDisplayNodeDidLoadBlock)didLoadBlock NS_DESIGNATED_INITIALIZER; /** * @abstract Alternative initializer with a block to create the backing layer.