descendant(at:)
Returns the receiver’s descendant at the specified index path.
Declaration
func descendant(at indexPath: IndexPath) -> NSTreeNode?Parameters
- indexPath:
An index path specifying a descendant of the receiver.
Return Value
A tree node, or nil if the node does not exist.