
iphone-statefulness
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
- Inherit from one of the following classes: StatefulObject, StatefulViewController or StatefulTableViewController, instead of NSObject, UIViewController or UITableViewController.
- Change your application delegate to inherit from StatefulAppDelegate
- In applicationDidFinishLaunching:, call the loadStateForVersion:timeoutInSeconds: function.
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
Project Information
- License: New BSD License
- 2 stars
- svn-based source control
Labels:
iphone
objective-c