insertItems(_:beforeItem:)
Inserts the provided items immediately before the item with the specified identifier in the snapshot.
Declaration
mutating func insertItems(_ identifiers: [ItemIdentifierType], beforeItem beforeIdentifier: ItemIdentifierType)Parameters
- identifiers:
The array of identifiers corresponding to the items to add to the snapshot.
- beforeIdentifier:
The identifier of the item before which to insert the new items.