views:

31

answers:

1

I would like to be able to decide where a sub view is placed, when that view is controlled by its own view controller. This happens frequently on the iPad when you have a semi-complicated view that doesn't fill the entire screen.

So, imagine that I want the sub view controller's nib to decide its own width, components, connections, etc, while the parent nib would decide where that view/nib would be placed.

I'd really like to lay it out visually instead of programatically. How can I?

A: 

Create a view in the parent nib. Connect it to a "subViewContainer" outlet. When you add the SubViewController, add its view to the container instead of self.view.

Sean Clark Hess