PersistStorage
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
@propertyWrapper
public struct PersistStorage<Value> : DynamicProperty
A type that conforms to DynamicProperty to facilitate
automatically updating SwiftUI Views.
-
Declaration
Swift
public var wrappedValue: Value { get nonmutating set } -
A
Bindingto thewrappedValue. Supports animations.Declaration
Swift
public var projectedValue: Binding<Value> { get }
View on GitHub
PersistStorage Structure Reference