I have an `AppDelegate` and `mainWindow.xib`. I created another `viewController` and called from `AppDelegate` and it is running good. Now my doubt is whether its possible to make the view controller as root with out adding it to `mainWindow.xib`. Whether its must to load our view with `mainWindow.xib`?

**I am calling view controller like this**

```
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
    self.view = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
    [self.window.contentView addSubview:self.view.view];
    self.view.view.frame = ((NSView*)self.window.contentView).bounds;
}

```