views:

24

answers:

1

...

i am sure this is a basic question, so thank you in advance.

i add a cell to the end of a section when in editing mode and i give it UITableViewCellEditingStyleInsert. how do i set what function that button calls?

+2  A: 

complete tutorial

http://iphoneinaction.manning.com/iphone_in_action/2009/05/table-tricks-tips-part-four-editing-tables.html

Aaron Saunders
thanks the simple answer was to call insertNewObject in - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
griotspeak
i got that answer from looking at the tutorial, so that is a genuine thanks.
griotspeak