Hello,
Like many other people starting on iPhone/Xcode I am having trouble feeling comfortable with UIView and UIViewController.
Here is my present question. Let us say I have the four following objects :
XView and YView both of type UIView, and their respective controllers XViewCtrl and YViewCtrl both of type UIViewController.
How do those objects communicate together in the standard way ? Do they use specific methods ? Or see each other's public variables ?
What is the exact syntax to use ?
I read on the net that UIViewController objects are supposed to know about UIView objects and not the other way around.
But that does not tell me how these UIViewController objects know about those UIView objects.
Thanks for any help.
Like many other people starting on iPhone/Xcode I am having trouble feeling comfortable with UIView and UIViewController.
Here is my present question. Let us say I have the four following objects :
XView and YView both of type UIView, and their respective controllers XViewCtrl and YViewCtrl both of type UIViewController.
How do those objects communicate together in the standard way ? Do they use specific methods ? Or see each other's public variables ?
What is the exact syntax to use ?
I read on the net that UIViewController objects are supposed to know about UIView objects and not the other way around.
But that does not tell me how these UIViewController objects know about those UIView objects.
Thanks for any help.
Last edited: