Instance Property

mutableChildNodes

A mutable array that provides read-write access to the receiver’s child nodes.

Declaration

@property(readonly, strong) NSMutableArray<NSTreeNode *> *mutableChildNodes;

Discussion

Nodes that are inserted into this array have their parent nodes set to the receiver. Nodes that are removed from this array automatically have their parent node set to nil. The array that is returned is observable using key-value observing.

See Also

Getting information about a node

representedObject

The object the tree node represents.

indexPath

The position of the receiver relative to its root parent.

leaf

A Boolean that indicates whether the receiver is a leaf node.

childNodes

An array containing receiver’s child nodes.

- descendantNodeAtIndexPath:

Returns the receiver’s descendent at the specified index path.

parentNode

The receiver’s parent node.