I have a HabitViewController (UITableViewController) with a button to add cells. When a cell is added its default title is \"New Habit\". Then the user
HabitViewController
(UITableViewController)
IN cellForRowAtIndexPath
cellForRowAtIndexPath
if(indexPath.row == object.count-1) cell.textLabel.text = @"New Habit"; else { NSDate *object = _objects[indexPath.row]; cell.textLabel.text = [object description]; } return cell;