SCUserDefaultsStore Class Reference
Inherits from | SCDataStore : NSObject |
Declared in | SCUserDefaultsStore.h |
Overview
SCUserDefaultsStore is an SCDataStore subclass that encapsulates the NSUserDefaults storage, providing means for the SC framework to communicate with this storage to fetch, add, update and remove user defaults.
Note: It is very rare when you’ll need to create an SCUserDefaultsStore instance yourself, as it’s typically automatically created for you when you use SCUserDefaultsDefinition. For example, when you use the SCTableViewModel method called [SCTableViewModel generateSectionsForUserDefaultsDefinition:], the model automatically sets its sections' dataStore property by calling your userDefaultsDefinition’s [SCDataDefinition generateCompatibleDataStore:] method.
Note: For more information on data stores, check out the SCDataStore base class documentation.