Structures
The following structures are available globally.
-
A property wrapper that uses
See moreUserDefaults
as a backing store, whosewrappedValue
is non-optional and registers a non-optional default value.Declaration
Swift
@propertyWrapper public struct FoilDefaultStorage<T> where T : UserDefaultsSerializable
-
A property wrapper that uses
See moreUserDefaults
as a backing store, whosewrappedValue
is optional and does not provide default value.Declaration
Swift
@propertyWrapper public struct FoilDefaultStorageOptional<T> where T : UserDefaultsSerializable