Mac OS X Cocoa multiview application navigation
问题 I've already spent 2 full days trying to figure out how to use NSViewControllers in order to create a multiview application. Here is what I do. I have 2 View Controllers and the MainMenu.xib's Window. I also have an AppController that is the delegate for both View Controllers. When I launch the app, I'm first greeted with the MainMenu.xib's Window's view which holds a button. On clicking this button, an IBAction is sent to the appController and asks for the SecondViewController to display it