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

darksider

macrumors member
Original poster
Sep 12, 2006
35
0
I was reading Apple's Cocoa tutorial and found some strange(?) thing:

"Double-click the nib file. This opens the nib file in Interface Builder."
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/chapter03/chapter_3_section_3.html#//apple_ref/doc/uid/20002051-TPXREF135

But... when I double-click on the nib file, it is opened in Finder, not in Interface Builder.

Why is that so? Ok, its not so hard to open it directly in the Interface Builder, but anyway, I dont understand. Thanks for any suggestions
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Get Info the file in Finder, and you can change the default app that it opens with under the "Opens with" section.

Are you sure you have the Xcode developer tools installed?
 

darksider

macrumors member
Original poster
Sep 12, 2006
35
0
Get Info the file in Finder, and you can change the default app that it opens with under the "Opens with" section.

Are you sure you have the Xcode developer tools installed?

MainMenu.nib is actually folder, so in finder you cant change what app should open it.
And yes, i try to click on MainMenu in Xcode, everything is installed.
 

darksider

macrumors member
Original poster
Sep 12, 2006
35
0

Attachments

  • Picture 1.png
    Picture 1.png
    69.8 KB · Views: 97

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Well can you open the mainmenu.nib file from Interface Builder's File > Open?
 

darksider

macrumors member
Original poster
Sep 12, 2006
35
0
so, finally, its solved...
I looked at the INFO of nib files of MainMenu.nib folder
And there I found the option what app should open it. After that change, everything is OK

But hey, thx for help :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.