-
Notifications
You must be signed in to change notification settings - Fork 17
Description
This was reported on the RKGithub repository:
I think there is another problem concerning the swipe-to-delete option.
When I set tableController.canEditRows = Yes
the delete button appears within the cell but nothing happend after clicking it. Anyone now how to solve this?
edit:
It's working if I create my tableController as an RKTableController instead of the RKFetchedResultsTableController
Comment from @creationist:
The swipe to delete is working within the RKTableController because it's just deleting the row out of the table.
The problem is within the tableView:commitEditingStyle:forRowAtIndexPath: methode of the RKFetchedResultsTableController. There you ask for the appropriate mapping but you get back a nill object therefore you get never inside the if where the delete request ist posted.
Hope this helps