Cannot find Nib File...

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

  1. dba macrumors newbie

    Joined:
    Dec 16, 2008
    #1
    Hello,

    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,
    dba
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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

    Joined:
    Sep 15, 2008
    #3
    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

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #4
    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

    Joined:
    Dec 16, 2008

Share This Page