Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 15, 2008, 07:45 PM   #1
springframework
macrumors member
 
Join Date: Mar 2008
HOw do you save info to return to the correct state of an iphone program after a call

what classes would u use? is their a tutorial on this somewhere online?
springframework is offline   0 Reply With Quote
Old May 15, 2008, 11:03 PM   #2
tacoman667
macrumors regular
 
Join Date: Mar 2008
I am guessing you would dump all pertinent information of the current state of the application and forms and what forms are being used/seen currently into a cache file in the eventhandler for the application closing/suspending. You need to look in the application object methods, UIApplication or UIWindow I would venture a guess. Then have your application look for the cache file at startup. If you close the application in a certain view or state then you could just not write out the cache file, that way the application will not find it and start a new state at application load.

Just my first thoughts on the mattter. There may be a better way. I believe, and I could be wrong as I am a new Mac user/developer from a Windows Platform, that this is how Mac applications work in OS X to some degree.
tacoman667 is offline   0 Reply With Quote
Old May 16, 2008, 12:29 PM   #3
springframework
Thread Starter
macrumors member
 
Join Date: Mar 2008
thanks for the reply, its definitely 'UIApplication' that i will use to know when the application is becoming active and inactive.

do you know what class i would use to write a file to system somewhere that isnt gonna interfer with anything else.
springframework is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How do you save files and presentations to the I pad Mr M5 iPad 8 Aug 28, 2011 10:55 AM
2011 Air - How do you wipe drive to return? OSMac MacBook Air 17 Aug 6, 2011 09:47 AM
How do you save changes to the original photo in Lightroom? LoneWolf121188 Digital Photography 27 Aug 4, 2011 02:52 PM
How do you save CD to hard drive? MACDRIVE Mac Basics and Help 2 Jun 18, 2007 08:05 PM
How do you save emai to the hard drivel? burritos General Mac Discussion 13 Jul 18, 2003 06:07 PM


All times are GMT -5. The time now is 02:41 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC