Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

What is the best way to preserve misc state?

$
0
0

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?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>