In SwiftUI
it is possible to use the environmentObject
method of the View object to put a single BindableObject
into the environment.
What if I want to put multiple BindableObjects
at the same time into the environment? I don't see any solution for this in the SwiftUI documentation. I don't want to have to pass the objects in the constructor.