How to set multiple EnvironmentObjects which are same type
问题 I found this question SwiftUI: Putting multiple BindableObjects into Envionment the answer said environmentObject(ObservableObject) returns modified view, therefore I can make call chain for multiple environmentObject. like let rootView = ContentView() .environmentObject(firstBindable) .environmentObject(secondBindable) and I wonder what is result if firstBindable and secondBindable are same type. how .environmentObject() knows what is exect value which is a programmer intended to set between