insertItems(withIdentifiers:beforeItemWithIdentifier:)
Inserts the provided items immediately before the item with the specified identifier in the snapshot.
Declaration
func insertItems(withIdentifiers identifiers: [Any], beforeItemWithIdentifier itemIdentifier: Any)Parameters
- identifiers:
The array of identifiers corresponding to the items to add to the snapshot.
- itemIdentifier:
The identifier of the item before which to insert the new items.