From 3b4055fcd3fa194ed61bf2e0fcd763aa81566894 Mon Sep 17 00:00:00 2001 From: rcancro <@pinterest.com> Date: Tue, 15 Sep 2015 12:38:41 -0700 Subject: [PATCH] few more doc changes. --- AsyncDisplayKit/ASDisplayNode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AsyncDisplayKit/ASDisplayNode.h b/AsyncDisplayKit/ASDisplayNode.h index f8a346bd9a..11a138ea4f 100644 --- a/AsyncDisplayKit/ASDisplayNode.h +++ b/AsyncDisplayKit/ASDisplayNode.h @@ -28,7 +28,7 @@ typedef UIView *(^ASDisplayNodeViewBlock)(); typedef CALayer *(^ASDisplayNodeLayerBlock)(); /** - * ASDisplayNode loaded callback block. Used for any additional setup after node's layer/view has been loaded + * ASDisplayNode loaded callback block. This block is called BEFORE the -didLoad method and is always called on the main thread. */ typedef void (^ASDisplayNodeDidLoadBlock)(ASDisplayNode *node); @@ -87,7 +87,7 @@ typedef void (^ASDisplayNodeDidLoadBlock)(ASDisplayNode *node); /** * @abstract Alternative initializer with a block to create the backing layer. * - * @param viewBlock The block that will be used to create the backing layer. + * @param layerBlock The block that will be used to create the backing layer. * * @return An ASDisplayNode instance that loads its layer with the given block that is guaranteed to run on the main * queue. The layer will render synchronously and -layout and touch handling methods on the node will not be called. @@ -97,7 +97,7 @@ typedef void (^ASDisplayNodeDidLoadBlock)(ASDisplayNode *node); /** * @abstract Alternative initializer with a block to create the backing layer. * - * @param viewBlock The block that will be used to create the backing layer. + * @param layerBlock The block that will be used to create the backing layer. * @param didLoadBlock The block that will be called after the layer created by the layerBlock is loaded * * @return An ASDisplayNode instance that loads its layer with the given block that is guaranteed to run on the main