I\'m fairly new to UI programming on the Mac and iPhone, and I\'ve run across something that somewhat puzzles me.
A UIViewController has 3 methods that involve the i
The initWithNibName:bundle: method is the designated initializer for the UIViewController class.
Try overriding and using it instead of init:
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
}
return self;
}
...
UIViewControllerSubClass *someViewController = [[UIViewControllerSubclass alloc] initWithNibName:@"UIViewControllerSubclass" bundle:nil];