New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Maintaining the state of the application


Post Reply New Thread Subscribe

 
Thread Tools
sanjeev

 
Member Since: Dec 18, 2009
Posts: 1
sanjeev is on a distinguished road

sanjeev is offline
Hi,

I want to maintain the state of my application...i.e say user is inside the application and he quits the app. from there itself..

Now when he restarts the application, the app. starts from the first view..I want the app. to resume from the same view from where the user has left..

There is an application "Drill Down Save" available on apple's site but that app. only contains the tables in all the views.. but in my case I have views which contains things other than table. Tables are not used much.

Please someone guide me how to implement that ASAP...I really need this to be implemented at the earliest.

Thanks in advance.

Sanjeev
QUOTE Thanks
cwa107

 
cwa107's Avatar
 
Member Since: Dec 20, 2006
Location: Middletown, Pennsylvania
Posts: 26,510
cwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond repute
Mac Specs: 15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD

cwa107 is offline
First let's get this thread in the right spot as clearly it is not a comment or question about the forum software.

Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
Second, goading people into answering your question based on your time table is likely to get few or no responses. It is considered bad etiquette.

Third, the Apple sample reference suggests you are creating an iPhone app. You should have mentioned that in your post. That helps others picture the scenario in their head.

Finally, what you are asking is unique to each app. I can't see that you'll get answers that will fit your exact situation.

The way that I picture this is that you have to understand what it will take to reconstruct that view. You'll need to save those items that can aid in the reconstruction. Perhaps you place the view level and some other random data into the user defaults. You write any records to a database and save the last query parameters. If you have a table list from a database, save the record id for the record displayed at the top of the list. When your user comes back in, you rebuild the model as it was, push to the appropriate view, and display the goods.

This thread over at iphonedevsdk may be helpful.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« shell script improperly converts variable name to string as an argument. | Installing PHP and MySQL on Snow Leopard workstation. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Facebook application facebuck55 iPod Hardware and Accessories 8 12-11-2009 07:14 PM
relaunch an application in OS X Leopard jomafaki OS X - Development and Darwin 0 06-19-2009 10:28 AM
How to call my own application instead of Phone Application when user press dial? gadget iOS and Apps 0 02-10-2009 07:59 PM
Application has to be transferred in a .sit Aikinai Switcher Hangout 4 10-18-2005 10:19 PM
Kernal panic in shutdown - OS 10.4 powercat OS X - Operating System 9 05-19-2005 10:14 AM

All times are GMT -4. The time now is 01:39 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?