I have a variable in a singleton pattern that is used/referenced through out the app.
I have a mainVC that has a custom view in it that sets a variable. I want the view controller that is presented in the navigation controller to be notified when this variable changes.
For example:
in my mainVC it has an embedded navigation controller, which I push View1. On the mainVC toolbar, there is a textfield that the user can enter values. When this values changes, I would like to have View1 to know it has changed. View1 can be any view that is currently presented.