Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dba

macrumors newbie
Original poster
Dec 16, 2008
6
0
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

Moderator emeritus
Jun 15, 2000
7,958
7
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

macrumors 6502
Sep 15, 2008
346
0
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

macrumors 603
Jan 6, 2004
6,265
2,630
Western US
Also, if you create a Cocoa Document-based application, by default your document window will be found in MyDocument.xib.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.