I think the lookup is purely by type, but maybe one of you can answer definitively?
Can someone explain to me how “EnvironmentObject” knows which object to proxy in SwiftUI? Example:
@EnvironmentObject@twitter.com var p1: Person
@EnvironmentObject@twitter.com var p2: Person
Is there any way for ‘p1’ and ‘p2’ to point to different objects? Is the lookup purely by type?
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!