UnwrappedCodableSingleton
@propertyWrapper
open class UnwrappedCodableSingleton<Value> : StorePropertyWrapperProtocol where Value : Decodable, Value : Encodable
@UnwrappedCodableSingleton
property wrapper.
-
Storage
used by property wrapper.Declaration
Swift
open var storage: SingletonStorage
-
Default value.
Declaration
Swift
open var defaultValue: Value
-
Property wrapper stored value.
Declaration
Swift
open var wrappedValue: Value { get set }