You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: