Contents

snapshot(for:)

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

Declaration

@MainActor @preconcurrency func snapshot(for section: SectionIdentifierType) -> NSDiffableDataSourceSectionSnapshot<ItemIdentifierType>

See Also

Updating section data