Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pickanumber

macrumors newbie
Original poster
Jan 8, 2011
1
0
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:

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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.