My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Stateful iPhone apps should be really easy. Like marking inheriting from a stateful class, mark up the members and calling a single method. Like this library.

Usage

  1. Inherit from one of the following classes: StatefulObject, StatefulViewController or StatefulTableViewController, instead of NSObject, UIViewController or UITableViewController.
  2. Change your application delegate to inherit from StatefulAppDelegate
  3. In applicationDidFinishLaunching:, call the loadStateForVersion:timeoutInSeconds: function.
  4. if ([self loadStateForVersion:1 timeoutInSeconds:0]) // if timeoutInSeconds is zero, never time out the state
    {
    }

# Name all members you want to save with the prefix "stateful".

  1. Profit!

Powered by Google Project Hosting