manish026

Results 2 comments of manish026

To fix this call **reorderRowAt** delegate after deleting the row tableView.beginUpdates() tableView.deleteRows(at: [context.destinationRow], with: .fade) delegate?.tableView(tableView, reorderRowAt: context.destinationRow, to: newContext.destinationRow) tableView.insertRows(at: [newContext.destinationRow], with: .fade) tableView.endUpdates()

Yes I was updating data model in tableView(_:UITableView, reorderRowAt:IndexPath, to:IndexPath)