I'm doing a flip-side application (not using the template) where I have 3 classes and the app delegate. They are:
RootViewController(.h and .m)
FrontSideViewController(.h and .m)
BackSideViewController(.h and .m)
Each have their own view. In FrontSideViewController I have declared a dictionary loading contents from a .plist file. My problem is: I don't know how I can change the contents of this dictionary while inside BackSideViewController. I'm showing a TextView and a Label in the FrontSideView(loaded from the class FrontSideViewController) and I want to be able to change the dictionary from which the TextView gets it's data from in the BackSideView(loaded from the class BackSideViewController).
In short: How do I change the value of dictionary in class X while inside class Y?
I would appreciate any help or possible alternatives. If it is not possible, how could I then do this?
- Ben
RootViewController(.h and .m)
FrontSideViewController(.h and .m)
BackSideViewController(.h and .m)
Each have their own view. In FrontSideViewController I have declared a dictionary loading contents from a .plist file. My problem is: I don't know how I can change the contents of this dictionary while inside BackSideViewController. I'm showing a TextView and a Label in the FrontSideView(loaded from the class FrontSideViewController) and I want to be able to change the dictionary from which the TextView gets it's data from in the BackSideView(loaded from the class BackSideViewController).
In short: How do I change the value of dictionary in class X while inside class Y?
I would appreciate any help or possible alternatives. If it is not possible, how could I then do this?
- Ben