When you create a new application in Xcode, it automatically creates AppDelegate and MainMenu.xib. The latter also contains the main application window, which is associated with AppDelegate as an IBOutlet.
What I tried to do, use MainWindow from another xib file. However, there is absolutely nothing I can do to prevent Cocoa from showing the first first window it creates, even if I remove the IBOutlet link and comment on it in the source file, and what not ...
Hope someone can explain this, as it has been eroding me for some time ...
source
share