Number of protocols from this pod helps to serialize swift class or structure to persistent storage like User Defaults or Keychain. The class/structure must contain properties of simple data type only. These types are: Data, String, Int, Float, Double, Bool, URL, Date, Array, or Dictionary. Adopt the PersistentStorageSerializable protocol from your struct. Then call pullFromUserDefaults() or pushToUserDefaults() on instance of your struct.
This superclass makes it easier to handle the user's preferences (app's settings). It's intended to be used in iOS primarily. A successor to this class keeps the app settings in properties and stores itself in the defaults system. Although the settings values will not be accessible through the NSUserDefaults class directly, but only via the setters and getters of the VRAppSettings successor. That gives common place for app's setting definition. The possibility to make range and consistency checks of the setting values in setters and getters. The refactoring tool can be used to change the setting's name across the project.
Extends NSFoundation with categories, macros & classes.
-[NSCoder encodeObject:withKey:]. Useful to make names via help of XCode autocompletion.