UnwrappedCodableStore
@propertyWrapper
@StorageActor
open class UnwrappedCodableStore<Value, StorageType> : StorePropertyWrapperProtocol where Value : Decodable, Value : Encodable, StorageType : Storage
@UnwrappedCodableStore property wrapper.
-
Storageused by property wrapper.Declaration
Swift
@StorageActor open var storage: StorageType -
StoreKeyto store the value.Declaration
Swift
@StorageActor open var key: StoreKey -
Default value.
Declaration
Swift
@StorageActor open var defaultValue: Value -
Create a
UnwrappedCodableStoreproperty wrapper.Declaration
Swift
@StorageActor public required init(wrappedValue: Value, _ storage: StorageType, _ key: StoreKey) -
Property wrapper stored value.
Declaration
Swift
@StorageActor open var wrappedValue: Value { get set }
View on GitHub
Install in Dash