Instance Method

reloadItems(at:)

Reloads just the items at the specified index paths.

Declaration

func reloadItems(at indexPaths: [IndexPath])

Parameters

indexPaths

An array of NSIndexPath objects identifying the items you want to update.

Discussion

Call this method to selectively reload only the specified items. This causes the collection view to discard any cells associated with those items and redisplay them.

See Also

Reloading Content

var hasUncommittedUpdates: Bool

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

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.

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