Inserting Rows in Table View
I want to create a table view so that when a user taps on the Add button (in the nav bar), it animates in a new row in the table, and the table cell includes a text view to start entering text in the cell. I also want the cell to have a date picker and a state toggle. I'm creating a to-do list as part of a bigger app.
In addition, I want each table cell to correspond to an instance of my ToDo class.
I can figure out how to create the custom cell, but I can't figure out how to insert the cell into the table, and create an instance of ToDo, saving it to the tableView's NSMutableArray.
Any ideas?
|