Tells your data source object to move the specified item to its new location.
- iOS 9.0+
- tvOS 9.0+
The collection view notifying you of the move.
The item’s original index path.
The new index path of the item.
You must implement this method to support the reordering of items within the collection view. If you do not implement this method, the collection view ignores any attempts to reorder items.
When interactions with an item end, the collection view calls this method if the position of the item changed. Use this method to update your data structures with the new index path information.