To set up outlets from the view controller to the view or subviews, you must set the File's Owner in the nib to the view controller's class.
The actual view controller can be a subclass of the class declared as the File's Owner in the nib. But then the outlets must still be in the superclass, or you won't be able to load using the other subclass.
So for example let me call the view controller SuperVC, Sub1VC, and Sub2VC. Then:
Define all needed outlets in SuperVC
Declare File's Owner in the nib as a SuperVC
Draw all outlet connections in the nib, including
view
of course
Now say:
Sub1VC* vc = [[Sub1VC alloc] initWithNibName:@"nibname" bundle:nil];
Or:
Sub2VC* vc = [[Sub2VC alloc] initWithNibName:@"nibname" bundle:nil];
They will both work.