@@ -19,10 +19,8 @@ typedef NSUInteger ASCellNodeAnimation;
1919 * The notification is done on main thread.
2020 *
2121 * @param node A node informing the delegate about the relayout.
22- *
23- * @param suggestedAnimation A constant indicates how the delegate should animate. See UITableViewRowAnimation.
2422 */
25- - (void )node : (ASCellNode *)node didRelayoutWithSuggestedAnimation : (ASCellNodeAnimation) animation ;
23+ - (void )nodeDidRelayout : (ASCellNode *)node ;
2624@end
2725
2826/* *
@@ -74,13 +72,6 @@ typedef NSUInteger ASCellNodeAnimation;
7472 */
7573@property (nonatomic , weak ) id <ASCellNodeLayoutDelegate> layoutDelegate;
7674
77- /*
78- * A constant that is passed to the delegate to indicate how a relayout is to be animated.
79- *
80- * @see UITableViewRowAnimation
81- */
82- @property (nonatomic , assign ) ASCellNodeAnimation relayoutAnimation;
83-
8475/*
8576 * ASCellNode must forward touch events in order for UITableView and UICollectionView tap handling to work. Overriding
8677 * these methods (e.g. for highlighting) requires the super method be called.
@@ -91,7 +82,7 @@ typedef NSUInteger ASCellNodeAnimation;
9182- (void )touchesCancelled : (NSSet *)touches withEvent : (UIEvent *)event ASDISPLAYNODE_REQUIRES_SUPER;
9283
9384/* *
94- * Marks the node as needing layout. Convenience for use whether the view / layer is loaded or not. Safe to call from a background thread.
85+ * Marks the node as needing layout. Convenience for use whether the view / layer is loaded or not.
9586 *
9687 * If this node was measured, calling this method triggers an internal relayout: the calculated layout is invalidated,
9788 * and the supernode is notified or (if this node is the root one) a full measurement pass is executed using the old constrained size.
0 commit comments