Classes
The following classes are available globally.
-
This class is meant to act as an “abstract” base class, providing a simple
See moreDictionary
datastore that is stored in theUserDefaults
in the Application Bundle. It is designed to be reliable, and extremely simple to use. The storedDictionary
would be a String-keyed Dictionary ofAny
(flexible types). It s up to subclasses to specialize the typeless data. THIS IS NOT EFFICIENT OR ROBUST! It is meant as a simple “bucket” for things like application preferences. It is not an industrial data storage solution. You have been warned. Subclasses could declare their accessors asKVO
-style, thus, providing a direct way to influence persistent state. You can also directly observe the .values property. It will change when ANY pref is changed (so might not be suitable for “pick and choose” observation).Declaration
Swift
open class RVS_PersistentPrefs : NSObject