Contents

hasUncommittedUpdates

A Boolean value that indicates whether the table view’s appearance contains changes that aren’t present 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, don’t 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