![](https://cos-cdn.shuashuati.com/pipixue-wap/2020-1230-1107-56/ti_inject-812ce.png)
解释下面代码段的功能: - (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)sourceIndexPath toIndexPath:(NSIndexPath *)destinationIndexPath {Person *p = _persons[sourceIndexPath.row]; [_persons removeObject:p]; [_persons insertObject:p atIndex:destinationIndexPath.row];