I'm using insertion into my UITableView with this :
Skill * newSkill = [[Skill alloc] init]; newSkill.name = @"Nouvelle compétence"; newSkill.pathPicto = @"generic"; [self.skills insertObject:newSkill atIndex:0]; NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0]; [self.tableView beginUpdates]; [self.tableView insertRowsAtIndexPaths:@[indexPath]withRowAnimation:UITableViewRowAnimationTop]; [self.tableView endUpdates];
It works great but now I want that the inserted cell be editable.
I would like that the label "Nouvelle compétence" can be edited and override with another text, and I would change the label color but I don't know how as the cell is inserted automatically. Maybe with a specific method before inserting ??