Contents

leafKeyPath(for:)

Returns the key path that specifies whether the node is a leaf node.

Declaration

func leafKeyPath(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 specifies that the node is a leaf node.

See Also

Specifying model attributes