In storyboard I'm trying to do let views/controllers become parents/children from each other, although I don't know if this is possible.
The view controllers can have child view controllers, so I want to enforce the same structure on the views. Is this possible?
For example, say there is ParentViewController
and ChildViewController
(which are UIViewControllers). And then there's the corresponding ParentView
and ChildView
(which are UIView).
I specify a UIImageView IBOutlet *imageView
in ParentView
(and ParentViewController
) right in the center, with some dimensions (e.g. the view is 400 by 400).
What I do know is that ChildViewController is able to access the property in the ParentViewController. But can I also make ChildView connect to that outlet by some kind of mechanism from ParentView? There doesn't seem to be a "dragging mechanism" in Storyboard.
I looked into questions like these, but they do not have the answer, because it's partially outdated (and partially different).