views:

43

answers:

1

hi i am working with iphone sdk and i need to know when there is a new item or when the user remove an item from the tableview because it is a 'drinks' section and if the user add or remove a drink, i need to show it in another view.

thx

A: 

Look for commitEditingStyle:

- (void) tableView: (UITableView*) tableView commitEditingStyle: (UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
    if (editingStyle == UITableViewCellEditingStyleDelete) {
// Delete record.
    }
}
sha