moveItem(at:to:)
Moves an item from one index to another in the scrubber.
Declaration
func moveItem(at oldIndex: Int, to newIndex: Int)Parameters
- oldIndex:
The index of the item that you want to move.
- newIndex:
The index of the item’s new location.