According to Apples documentation ([https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/StatePreservation/StatePreservation.html#//apple_ref/doc/uid/TP40007072-CH11-SW12](Preserving Your App’s High-Level State)), you can preserve miscellaneous data by using application:willEncodeRestorableStateWithCoder: and application:didDecodeRestorableStateWithCoder:. But to do this with any kind of object, even a string, I'm going to have to have a bunch of serialization and deserialization code to handle all of this. Is this the right avenue to go down for persisting non-view related data?
↧