Cannot find Nib File...

Discussion in 'Mac Programming' started by dba, Dec 16, 2008.

  1. dba macrumors newbie

    Dec 16, 2008

    if you want to create a cocoa program, it seems to be essential, to use the nib file, that is be built initially into your directory after you have created your cocoa project But i only find the MainMenu.xib. But it doesnt have the same features. I am completely new to Xcode, hence i only programmed with MSVisual Studio.

    I am using XCode 3.1.2

    Any ideas?

    Thanks in Advance,
  2. kainjow Moderator emeritus


    Jun 15, 2000
    I'm not sure what you mean by "same features". Generally the MainMenu nib contains your menu bar, main window and app controller. If you have other windows, you'd want to put them in their own separate nibs.
  3. SydneyDev macrumors 6502

    Sep 15, 2008
    The xib file is compiled in to a nib by XCode, and XCode copies it to the app bundle for you, you shouldn't have to do it manually.
  4. HiRez macrumors 603


    Jan 6, 2004
    Western US
    Also, if you create a Cocoa Document-based application, by default your document window will be found in MyDocument.xib.
  5. dba thread starter macrumors newbie

    Dec 16, 2008

Share This Page