Мне нужно добавить ячейку 'ADD NEW ROW' в таблицу.И я добавляю это, но у меня есть проблема, чтобы закончить это.В этом методе setEditing я не знаю, что мне нужно поместить в массив paths?
-(void)setEditing:(BOOL)editing animated:(BOOL)animated {
[super setEditing:editing animated:animated];
[self.tableView setEditing:editing animated:animated];
//[self.tableView reloadData];
NSMutableArray* paths = [[NSMutableArray alloc] init];
// fill paths of insertion rows here
if( editing )
[self.tableView insertRowsAtIndexPaths:paths withRowAnimation:UITableViewRowAnimationBottom];
else
[self.tableView deleteRowsAtIndexPaths:paths withRowAnimation:UITableViewRowAnimationBottom];
[paths release];
}