Sometimes you forget the steps Cocoa/CocoaTouch does for you when instantiating a (NS|UI)ViewController.
If you're doing some programmatic testing of your view controllers and need to know that something in the nib loaded correctly you need to do two things:
UIViewController *myVC = [myVC.alloc initWithNib:@"nibFileName" bundle:nil]; [myVC loadView];
That's it. Now your nib will be unpacked and all elements initialized into its
.view. Carry on doing fun things like