PDA

View Full Version : Cannot find Nib File...




dba
Dec 16, 2008, 11:22 AM
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



kainjow
Dec 16, 2008, 02:17 PM
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.

SydneyDev
Dec 16, 2008, 09:47 PM
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.

HiRez
Dec 17, 2008, 03:09 PM
Also, if you create a Cocoa Document-based application, by default your document window will be found in MyDocument.xib.

dba
Dec 22, 2008, 02:19 AM
thanks for your help.