views:

101

answers:

0

In my app the user will be able to make/load configurations and each configuration is made up of NSStrings and BOOL values. I need to be able to store the users configurations into a NSMutableArray (there is no set limit to how many rows can be in the array) and store that NSMutableArray into a database. I don't know enough about obj-c to figure this out. I know one of you are smart enough to help me with this.

Right now when the app starts an alert pops up with 2 buttons, "New Config" and "Load Config". If the user taps "New Config" a view will pop up with a textfield so the user can enter in a new config name. So lets say the user tapped "New Config" and they named the new config "config1". Now the user goes through the App and sets all their switches (BOOLs) and textfields (NSStrings). When they quit the App I need their "config1" (BOOLs and NSStrings) to be saved in a database.

How would I set up the database to store "config1"????

Thank you for your time in advance!!!