Contents

insertItems(_:afterItem:)

Inserts the provided items immediately after the item with the specified identifier in the snapshot.

Declaration

mutating func insertItems(_ identifiers: [ItemIdentifierType], afterItem afterIdentifier: ItemIdentifierType)

Parameters

  • identifiers:

    The array of identifiers corresponding to the items to add to the snapshot.

  • afterIdentifier:

    The identifier of the item after which to insert the new items.

See Also

Inserting items and sections