Protocols
The following protocols are available globally.
-
Entities conforming to this protocol are capable of providing values for application settings.
Application settings are global values available to the application at runtime. Settings values should persist across application launches, and should be available locally on the device running the application.
Storage for application settings is typically provided by the operating system and may be transparently synchronized across multiple devices depending on the underlying implementation.
This framework also extends
See moreUserDefaults
, allowing it to be used as anAppSettingsReader
.Declaration
Swift
public protocol AppSettingsReader: class
-
This protocol extends
AppSettingsReader
by adding the ability to store and remove values.This framework also extends
See moreUserDefaults
, allowing it to be used as anAppSettingsWriter
.Declaration
Swift
public protocol AppSettingsWriter: AppSettingsReader