Instance Property

projectedValue

A projection of the environment object that creates bindings to its properties using dynamic member lookup.

Declaration

var projectedValue: EnvironmentObject<ObjectType>.Wrapper { get }

Discussion

Use the projected value to pass an environment object down a view hierarchy.

See Also

Getting the Value

var wrappedValue: ObjectType

The underlying value referenced by the environment object.

struct EnvironmentObject.Wrapper

A wrapper of the underlying environment object that can create bindings to its properties using dynamic member lookup.