Creating the main window in AppDelegate.m after deleting the Xib corresponding to the main view controller. (Make sure to delete the entry for the main view controller in the Info.plist file.)
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Create the main window, in lieu of the Xib we trashed.
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[[self window] setBackgroundColor:[UIColor lightGrayColor]];
[[self window] setRootViewController:[[NoXibViewController alloc] init]];
[[self window] makeKeyAndVisible];
return YES;
}