Wrapper
@dynamicMemberLookup
public struct Wrapper
A wrapper of the underlying ObservableObject that can create
Bindings to its properties using dynamic member lookup.
-
Creates a
Bindingto a value semantic property of a reference type.If
Valueis not value semantic, the updating behavior for any views that make use of the resultingBindingis unspecified.Declaration
Swift
public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
View on GitHub
Wrapper Structure Reference