Instance Property

hasUncommittedUpdates

A Boolean value indicating whether the collection view contains drop placeholders or is reordering its items as part of handling a drop.

Declaration

var hasUncommittedUpdates: Bool { get }

Discussion

When the value of this property is true, avoid making any significant changes to the collection view. Specifically, do not reload the collection view's data, as doing so deletes all placeholders and recreates items from the data source.

See Also

Reloading Content

func reloadData()

Reloads all of the data for the collection view.

func reloadSections(IndexSet)

Reloads the data in the specified sections of the collection view.

func reloadItems(at: [IndexPath])

Reloads just the items at the specified index paths.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software