Closed stefanomondino closed 4 years ago
I wonder if we should make the SimulatorsController
be an EnvironmentObject
🤔
@davedelong nice call! I still don't fully get how Environment Objects are supposed to work, this helped me understand it better!
Is this ready to merge?
@twostraws it is now. I've reverted back the declaration of SimulatorsController
from Env object to ObservedObject
to avoid lots of conflicts with other commits.
I think that @davedelong suggestion was good but is really hard to implement in a specific pull request like this.
fixes #46
Unfortunately, I had to bring down the SimulatorsController to the LocationView to obtain a list of active simulators and broadcast the coordinates notification to all of them.