Saving state upon quitting
I am new to the group, so first, "Hello group". I am also very new to iPhone programming. I have gotten a good deal of help form this site and a few others and I have decided to formally participate in this one. I hope that I ask my following question correctly so that you know what I am doing and so that I can get a helpful response.
Problem:
I have a Navigation Controller with a table view that has an array (NSMutableArray) of view controllers. (Did I say that right?) I basically used parts from the sample code in UICatalog and NavBar to get what I wanted. I am able to delete and reorder rows. I am even able to save the user inputted text and have it appear upon relaunch the app using NSUserDefaults.
Question:
After the user has moved rows of view controllers in the initial table view and/or deleted unwanted view controllers, how do I save the table view upon quitting the app? (I am using the simulator) I am currently attempting to use NSUserDefaults to save my menuList and detailList (Detail Disclosure)
Thanks in advance.
|