I am using
- (void)tableViewModel:(SCTableViewModel *) tableViewModel itemEditedForSectionAtIndexPath:(NSIndexPath *) indexPath item:(NSObject *) item
to update SQLite when an item is edited, but the item is null at my function.
I have to use index path instead to manually bind to my bound object array that populates the tableview.
I also want to delete from sqlite when the user swipes to delete. I am trying to use this delegate:
- (void)tableView:(UITableView *)tv commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
if (editingStyle == UITableViewCellEditingStyleDelete) {
but it is never called. My controller is also a UITableViewDelegate
Does Sensible Cocoa intercept this delegate somehow?
Does Sensible Cocoa have it's own itemDeleted delegate?
Thanks