Take the following example..
A single tabBarController toggles between two views, each handled by their own view controller (lets say viewController1, viewController2).
I have a class called Widget that has the property 'name'.
So i have code in view1 that will read the contents of a textfield and set the 'name' property of my widget object.
I want to have code in view2 to read the 'name' property of the widget object and display somewhere.
1. Where would i declare an instance of my widget class? in the tabBarController?
2. If so, how would i access that instance in my other two viewcontrollers?
Thanks in advance!