- tableView
- Table view containing the row to be moved.
- sourceIndexPath
- The original location of the row being moved.
- proposedIndexPath
- The location in the table view where the row has been dropped. The location can be altered by this method.
An index path to retarget the proposed move of a row. Use proposedIndexPath if no customization is required.
Allows customization of the target location for a row that is being moved within a table view. As the row is moved, other rows slide apart visually at the destination location to indicate where the row would be moved to. By returning a value that is different to proposedIndexPath this method can prevent a row from being moved to certain locations.
[UITableViewDelegate]