Post

Replies

Boosts

Views

Activity

Reply to How to properly "Delete a row from a tableView" using trailingSwipeActionsConfiguration
Found my solution! override func tableView(_ tableView: UITableView, trailingSwipeActionsConfigurationsForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? { let deleteAction = UIContextualAction(style: .destructive, title: "Delete") { (action, sourceView, completionHandler) in if let appDelegate = (UIApplication.shared.delegate as? AppDelegate) { let context = appDelegate.persistentContainer.viewContext let inspectionsToDelete = self.fetchResultController.object(at: indexPath) context.delete(inspectionsToDelete) appDelegate.saveContext() } completionHandler(true) }
Mar ’22
Reply to Cannot install xcode app to iphone error
My App is in the App store and a new version is in TestFlight. If you have submitted the App to TestFlight, you may have to delete the App from your iPhone and then you will be able to run it again from Xcode. I had the same message after downloading My App from TestFlight, I deleted the TestFlight version and was able to run my App through Xcode. Hope this helps
Mar ’21