Contents

snapshot()

Returns a representation of the current state of the data in the collection view.

Declaration

func snapshot() -> NSDiffableDataSourceSnapshotReference

Return Value

A snapshot containing section and item identifiers in the order that they appear in the UI.

See Also

Updating data