Instance Method

levelForRow:

Returns the indentation level for a given row.

Declaration

- (NSInteger)levelForRow:(NSInteger)row;

Parameters

row

The index of a row in the receiver.

Return Value

The indentation level for row. For an invalid row, returns –1.

Discussion

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

See Also

Working with Indentation

- levelForItem:

Returns the indentation level for a given item.

indentationPerLevel

The per-level indentation, measured in points.

indentationMarkerFollowsCell

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