Instance Method


Returns the indentation level for a given item.


func level(forItem item: Any?) -> Int



An item in the receiver.

Return Value

The indentation level for item. If item is nil (which is the root item), returns –1.


The levels are zero-based—that is, the first level of displayed items is level 0.

See Also

Working with Indentation

func level(forRow: Int) -> Int

Returns the indentation level for a given row.

var indentationPerLevel: CGFloat

The per-level indentation, measured in points.

var indentationMarkerFollowsCell: Bool

A Boolean value indicating whether the indentation marker symbol displayed in the outline column should be indented along with the cell contents.