Contents

tableView(_:indentationLevelForRowAt:)

Asks the delegate to return the level of indentation for a row in a given section.

Declaration

optional func tableView(_ tableView: UITableView, indentationLevelForRowAt indexPath: IndexPath) -> Int

Parameters

  • tableView:

    The table view requesting this information.

  • indexPath:

    An index path locating the row in tableView.

Return Value

Returns the depth of the specified row to show its hierarchical position in the section.

See Also

Configuring rows for the table view