How To Save Re-Ordered Tableview Cells To Core Data
问题 So I have my tableview when I re-order my rows it updates the tableview and everything but it isn't saving to core data . func tableView(_ tableView: UITableView, moveRowAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath) { let appDelegate = UIApplication.shared.delegate as! AppDelegate let context = appDelegate.persistentContainer.viewContext let movedCampSites = itemName[sourceIndexPath.item] itemName.remove(at: sourceIndexPath.item) itemName.insert(movedCampSites, at: