Contents

projectedValue

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

Declaration

@MainActor @preconcurrency 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