Instance Property

hasUncommittedUpdates

A Boolean value indicating whether the table view's appearance contains changes that are not reflected in its data source.

Declaration

var hasUncommittedUpdates: Bool { get }

Discussion

The value of this property is true when the table view contains placeholder cells or is handling a drop and is in the middle of reordering its rows. When this property is true, avoid making any significant changes to the table view. Specifically, do not call reloadData(), which forces the table to delete any uncommitted changes before retrieving fresh data from the data source object..

See Also

Reloading the Table View

func reloadData()

Reloads the rows and sections of the table view.

func reloadRows(at: [IndexPath], with: UITableView.RowAnimation)

Reloads the specified rows using a given animation effect.

func reloadSections(IndexSet, with: UITableView.RowAnimation)

Reloads the specified sections using a given animation effect.

func reloadSectionIndexTitles()

Reloads the items in the index bar along the right side of the table view.