moveItem(withIdentifier:beforeItemWithIdentifier:)
Moves the item from its current position in the snapshot to the position immediately before the specified item.
Declaration
func moveItem(withIdentifier fromIdentifier: Any, beforeItemWithIdentifier toIdentifier: Any)Parameters
- fromIdentifier:
The identifier of the item to move in the snapshot.
- toIdentifier:
The identifier of the item before which to move the specified item.