Instance Method


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


func reloadSections(_ sections: IndexSet)



The indexes of the sections to reload.


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

See Also

Reloading Content

var hasUncommittedUpdates: Bool

A Boolean value that indicates 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 reloadItems(at: [IndexPath])

Reloads just the items at the specified index paths.