InterfaceBuilder generates this method for me in fooAppDelegate.m:
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after app launch
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];
}
IB also puts UIWindow *window;
in fooAppDelegate.h and @synthesize window;
in fooAppDelegate.m, and correspondingly for navigationController
. IB generates code to release window
and navigationController
in dealloc
.
I cannot see any code that allocates and initializes the window
and the navigationController
. I wonder where that happens.
Ari.