Instance Method

descendantNodeAtIndexPath:

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

Declaration

- (NSTreeNode *)descendantNodeAtIndexPath:(NSIndexPath *)indexPath;

Parameters

indexPath

An index path specifying a descendent of the receiver.

Return Value

A tree node, or nil if the node does not exist.

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.

mutableChildNodes

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

parentNode

The receiver’s parent node.