I have the following problem: I made an app with a UITableView. In the UITableView, you can add new rows, but when I add new rows and restart the app, the lines have disappeared. The iPhone doesn't save the content of the UITableView, when I close the app, how can I make the iPhone to do save the content and let the added lines stay?
I have also another question: I want to program, that, if I click on an add button, another view with a datepicker appears and I can set a date, that has to be the title of a new line, that has been added, when I click on an ok button. I know, how to let another view appear, and I know how to program a datepicker, but how can I let the date of the datepicker be the title of a line, that has been added, when I click on an ok button?
I hope you can help me, because I have tried to make this app for over 2 months...
Thank you for all your answers, so far I'm finished with my App, but one last question: What do I have to use as the Object in the NSUserDefaults to save the tableview? Maybe the array? When I can save the tableview's content, the app will be ready for the appstore...