public interface UITableViewDelegate
Modifier and Type | Method and Description |
---|---|
default void |
accessoryButtonTappedForRowWithIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used after a tap on the accessory view of a row.
|
default void |
didDeselectRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used after the deselection of a row.
|
default void |
didEndEditingRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used after a table view was set on editing mode.
|
default void |
didSelectRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used after a row is selected.
|
default int |
editingStyleForRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used to define the editing style of a row.
|
default double |
heightForFooterInSection(UITableView tableview,
int section)
It is used in order to define the height of the footer of a section.
|
default double |
heightForHeaderInSection(UITableView tableview,
int section)
It is used in order to define the height of the header of a section.
|
default double |
heightForRowAtIndexPath(UITableView tableView,
NSIndexPath indexPath)
It is used in order to specify the height of a row.
|
default boolean |
shouldIndentWhileEditingRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used while a table view is in editing mode in order to indent the
background.
|
default String |
titleForDeleteConfirmationButtonForRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used in order to change the default title of the delete button.
|
default UIView |
viewForFooterInSection(UITableView tableview,
int section)
It is used in order to display a footer to a section of the table view.
|
default UIView |
viewForHeaderInSection(UITableView tableview,
int section)
It is used in order to display a header to a section of the table view.
|
default void |
willBeginEditingRowAtIndexPath(UITableView tableview,
NSIndexPath indexPath)
It is used before the table view is set on editing mode.
|
default void |
willDisplayCell(UITableView tableview,
UITableViewCell cell,
NSIndexPath indexPath)
It is used before drawing a cell for a particular row.
|
default void willDisplayCell(UITableView tableview, UITableViewCell cell, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.cell
- The cell to be drawn.indexPath
- The row of the cell,default void accessoryButtonTappedForRowWithIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.indexPath
- The related row.default void didSelectRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- A table view that corresponds to this delegate.indexPath
- The selected row.default void didDeselectRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- A table view that corresponds to this delegate.indexPath
- The deselection of a row.default void willBeginEditingRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.indexPath
- The row that is about to be edited.default void didEndEditingRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.indexPath
- The row that was edited.default boolean shouldIndentWhileEditingRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.indexPath
- The row that is edited.default int editingStyleForRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.indexPath
- The row that is edited.default double heightForRowAtIndexPath(UITableView tableView, NSIndexPath indexPath)
tableView
- The table view that corresponds to this delegate.indexPath
- The related row.default UIView viewForHeaderInSection(UITableView tableview, int section)
tableview
- The table view that corresponds to this delegate.section
- The section of the tableView.default UIView viewForFooterInSection(UITableView tableview, int section)
tableview
- The table view that corresponds to this delegate.section
- The section of the tableView.default double heightForHeaderInSection(UITableView tableview, int section)
tableview
- The table view that corresponds to this delegate.section
- The related section.default double heightForFooterInSection(UITableView tableview, int section)
tableview
- The table view that corresponds to this delegate.section
- The related section.default String titleForDeleteConfirmationButtonForRowAtIndexPath(UITableView tableview, NSIndexPath indexPath)
tableview
- The table view that corresponds to this delegate.indexPath
- The related row of the table view.Copyright © 2020. All rights reserved.