Organizing Interface Builder XIB's
I have a bunch of views, all with their own .xib and controller class as "File Owner" respectively.
I have one main view which is supposed to display them all at different times. How can I organize the individual .xib views in the main view using interface builder?
For instance say I have a single .xib, "OtherView.xib" with a bunch of controls in it. I have another .xib "MainView.xib", and I want to add the view defined in OtherView.xib, how do I do it?
I know in the viewDidLoad method I can just add it as a subview, but then I have no control of the sizing of the view nor do I get to look at it in IB.
Thanks!
|