Still learning the Cocoa Window Architecture... Goal: I want to separate my MainWindow out of MainMenu.xib into its own .xib: MainView.xib.
1) I create a new Cocoa Application (not document-based) 2) I create a MainWindow.xib and MainWindowController.h/.m setting appropriately the relationship between them. MainWindowController inherits from NSWindowController and follows the proper procedures of fixing the "MainWindow" in the init* methods as mentioned in Apple docs. I also set the window and delegate My assumption (based on docs) is that my default or main NIB to be loaded is the one that has NSApplication set as the File's Owner. And this should remain as MainMenu, to ensure the responders for the Menu's are properly registered/set up. What is the recommended way to move MainWindow in another NIB? Shall I instantiate it from applicationDidFinishLaunching? Is there another way through interface builder, where one NIB refers to the other, etc? Thank you, Mark _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com