countKeyPath(for:)
Returns the key path that provides the number of children for a specified node.
Declaration
func countKeyPath(for node: NSTreeNode) -> String?Parameters
- node:
A tree node in the tree controller’s content.
Return Value
A string containing the key path in node that provides the number of children.