Given a View, how can I access an environment object w/o needing the @Environment() property wrapper.
For example, I can set a value
But I can't
What am I missing?
For example, I can set a value
Code Block swift myView.environment(\.coordinator, Coordinator())
But I can't
Code Block swift let coordinator = myView.environment(\.coordinator) coordinator.someMethod(arg: value)
What am I missing?