ASDisplayNode(AutomaticSubnodeManagement) Category Reference

Declared in ASDisplayNode.h

  automaticallyManagesSubnodes

A boolean that shows whether the node automatically inserts and removes nodes based on the presence or absence of the node and its subnodes is completely determined in its layoutSpecThatFits: method.

@property (nonatomic, assign) BOOL automaticallyManagesSubnodes

Discussion

If flag is YES the node no longer require addSubnode: or removeFromSupernode method calls. The presence or absence of subnodes is completely determined in its layoutSpecThatFits: method.

Declared In

ASDisplayNode.h