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

dbchan

macrumors newbie
Original poster
Jun 28, 2008
1
0
so i think the problem i'm having is that i have the newer version of Xcode, and an older version of "Cocoa Programming for Mac OS X" by Aaron Hillegass.

page 20, creating a class. says to click on the classes tab in the interface builder menu.

... i don't have a classes tab there.

maybe its been moved to a different place, maybe i'm just a complete noob and i am missing something entirely. either way, anyone got anything for me?

much thanks. :apple:
 

MrFusion

macrumors 6502a
Jun 8, 2005
613
0
West-Europe
so i think the problem i'm having is that i have the newer version of Xcode, and an older version of "Cocoa Programming for Mac OS X" by Aaron Hillegass.

page 20, creating a class. says to click on the classes tab in the interface builder menu.

... i don't have a classes tab there.

maybe its been moved to a different place, maybe i'm just a complete noob and i am missing something entirely. either way, anyone got anything for me?

much thanks. :apple:

I don't have the new xCode, yet. But in the old version, there are two ways to create a class in interface builder. One way is as you describe, the other way is to create a new class in xCode and load that new class from within interface builder, "Read files" under "classes". Maybe this second method still works in the new version.
This second way is actually much nicer do to things. You can type in new outlets in the class header and read the header file in builder. This way, you don't risk losing code because builder overwrites the files, and you avoid the hassle with merging the two files. Typing (or copy/paste) is also faster than all that clicking in interface builder.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.