Instance Method

deleteSections(_:)

Deletes the sections with the specified identifiers from the snapshot.

Declaration

mutating func deleteSections(_ identifiers: [SectionIdentifierType])

Parameters

identifiers

The array of identifiers corresponding to the sections to delete from the snapshot.

See Also

Removing Items and Sections

func deleteAllItems()

Deletes all of the items from the snapshot.

func deleteItems([ItemIdentifierType])

Deletes the items with the specified identifiers from the snapshot.