Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 10-01-2009, 12:52 PM   #1 (permalink)
Registered Member
 
Join Date: Oct 2009
Posts: 5
Default 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.
jmcfizix is offline   Reply With Quote
Reply

Bookmarks

Tags
navigation controller, nsuserdefaults, saving, tableview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 338
19 members and 319 guests
ADY, Alsahir, Dani77, e2applets, JasonR, keeshux, mer10, Monstertaco, piesia, prchn4christ, Promo Dispenser, Robiwan, sebasx, sly24, Touchmint, twerner, zulfishah
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,759
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0