Results 1 to 3 of 3
  1. #1
    Maintaining the state of the application

    Member Since
    Dec 18, 2009
    Posts
    1
    Maintaining the state of the application
    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

  2. #2
    Maintaining the state of the application
    cwa107's Avatar
    Member Since
    Dec 20, 2006
    Location
    Lake Mary, Florida
    Posts
    26,758
    Specs:
    15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD
    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!

    https://youtu.be/KHZ8ek-6ccc

  3. #3
    Maintaining the state of the application
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Maintaining your mac
    By Firejack in forum OS X - Operating System
    Replies: 7
    Last Post: 11-03-2012, 08:47 AM
  2. Self Maintaining
    By Mac Math in forum Switcher Hangout
    Replies: 8
    Last Post: 05-15-2011, 09:26 AM
  3. maintaining battery?
    By chihiro in forum Apple Notebooks
    Replies: 2
    Last Post: 08-14-2010, 08:47 PM
  4. Maintaining OS X. How?
    By aquariaguy in forum OS X - Operating System
    Replies: 3
    Last Post: 11-18-2008, 04:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •