Contents

moveItem(withIdentifier:afterItemWithIdentifier:)

Moves the item from its current position in the snapshot to the position immediately after the specified item.

Declaration

func moveItem(withIdentifier fromIdentifier: Any, afterItemWithIdentifier toIdentifier: Any)

Parameters

  • fromIdentifier:

    The identifier of the item to move in the snapshot.

  • toIdentifier:

    The identifier of the item after which to move the specified item.

See Also

Reordering items and sections