If I am designing a custom UI for the iPad, is it okay to nest UIViews, where each UIView has its own UIViewController tied to it?
I mean by first creating a set of UIViewControllers + xib files from Xcode templates, then nesting their views by doing:
Is this okay? Is this non-ideal? What's the right way to do this so that each piece is still reusable?
Explanations and links to the documentation is welcome.
I mean by first creating a set of UIViewControllers + xib files from Xcode templates, then nesting their views by doing:
Code:
[firstView addSubview:secondUIViewController.view];
Is this okay? Is this non-ideal? What's the right way to do this so that each piece is still reusable?
Explanations and links to the documentation is welcome.