I would like to know the best practices for reloading the state of an application so that when I launch my application it automatically loads the “correct” view / subroutine when it opens again.
In my particular case, my application has a bunch of view controllers, each of which takes care of a UITableView. I would like my application to jump to the correct node in my table view hierarchy when it opens again.
, , , , "", "" [navigationController pushViewController: viewController animated: NO]. , "", . "", , ( " " ).
[navigationController pushViewController: viewController animated: NO]
Apple DrillDownSave:
", ."
http://developer.apple.com/iphone/library/samplecode/DrillDownSave
. , , , , .
I published a small library to help accomplish such things. I already use it in the application that I published on the App Store, and it is much smoother than implementing NSCoder for each view manually: P