moveItem(_:afterItem:)
Moves the item from its current position in the snapshot to the position immediately after the specified item.
Declaration
mutating func moveItem(_ identifier: ItemIdentifierType, afterItem toIdentifier: ItemIdentifierType)Parameters
- identifier:
The identifier of the item to move in the snapshot.
- toIdentifier:
The identifier of the item after which to move the specified item.