reloadData(forRowIndexes:columnIndexes:)
Reloads the data for only the specified rows and columns.
Declaration
func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes: IndexSet)Parameters
- rowIndexes:
The indexes of the rows to update.
- columnIndexes:
The indexes of the columns to update.
Discussion
For cells that are visible, the appropriate dataSource and delegate methods are called and the cells are redrawn.
For tables that support variable row heights, the row height is not re-queried from the delegate; it is your responsibility to invoke noteHeightOfRows(withIndexesChanged:) if a row height change is required.