Revision: 28636
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 11, 2010 06:07 by B0nis
Initial Code
[tableView setEditing:YES]; - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { int chapter = [[[book bookmarks] objectAtIndex: indexPath.row] intValue]; [book removeBookmark: chapter]; [tableView deleteRowsAtIndexPaths: [NSArray arrayWithObject: indexPath] withRowAnimation: UITableViewRowAnimationFade]; }
Initial URL
Initial Description
Initial Title
delete a Table-View row
Initial Tags
Initial Language
iPhone