Instance Method


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


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



The table-view object requesting this information.


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

func tableView(UITableView, willDisplay: UITableViewCell, forRowAt: IndexPath)

Tells the delegate the table view is about to draw a cell for a particular row.

func tableView(UITableView, shouldSpringLoadRowAt: IndexPath, with: UISpringLoadedInteractionContext) -> Bool

Called to let you fine tune the spring-loading behavior of the rows in a table.