I just checked the datasource and the UITableView of the app and they seem to be working well.
I can add a row to the TableView by using the code – […initWithObjects:(id),nil] and I could do this at code level.
This is what I want to do.
- Create an Add button or a ‘+’ sign on top of the table.
- So while the App is running.. If I click that, I should be able to set a name for that row.
- If I need to create more rows and set names for them, I just press the add button and I again type new names for the rows .
How do I go about this in real time?
The UITableView method
-insertRowsAtIndexPaths:withRowAnimation:is used to add rows to a table programmatically.This answer addresses your problem fairly directly.