Learn Courses My Dashboard

Binding and Observed object


I am having some trouble figuring out how I should handle the following situation.
I want there to be a single structure/class object that keeps track of all errors. This environment object is created in the launchview. However, I want other ViewModels to be able to set values of this object when something happens and want Views to read these values again to display in the UI. What structures should I be using in order to facilitate this?