I have a main view with a controller and two seperate view controllers with their own xibs.
something like
@interface MainViewController : UIViewController
{
FirstViewController* firstController;
SecondViewController* secondController;
}
I would like to have FirstViewController.xib and SecondViewController.xib so that I can put whatever I want in there.
Now in MainViewController.xib I want to be able to define the frames for the FirstViewController and SecondViewController.
Is the only way to do this to go into MainViewController's viewDidLoad
method and manually add the controller's respective views as subviews? But then how do I define the sizing???