level(forRow:)
Returns the indentation level for a given row.
Declaration
func level(forRow row: Int) -> IntParameters
- 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.