Re: Newbie question re Xcode on Leopard
Re: Newbie question re Xcode on Leopard
- Subject: Re: Newbie question re Xcode on Leopard
- From: "Kiel Gillard" <email@hidden>
- Date: Fri, 22 Aug 2008 11:52:27 +1000
Hi Paul,
Hope you're enjoying Cocoa ;-)
As you probably noticed, the Classes tab has been removed in Interface
Builder 3 (the Leopard Interface Builder). The projects header files are
automagically synced with the xib. To instansiate your custom class;
1) Drag an Object (plain blue cube) from the Library panel into your xib.
2) Select the Object instance you dropped from the palette.
3) Choose from the menu bar Tools > Identity Inspector.
4) In the Class combo box, begin typing the name of your custom class (that
is, "AppController").
If the project's header files are synced with the xib properly, Interface
Builder 3 should guess the untyped portion of AppController.
Hope this helps,
Kiel
You wrote:
Hi--
I'm working my through the Cocoa II lesson at:
http://www.cocoadevcentral.com/d/learn_cocoa_two/
This lesson was originally written for Tiger, and has not yet been updated
for Leopard.
My question: Halfway through the lesson, after creating the AppController.h
and AppController.m files, I'm at the Add Header to NIB (section 12). At the
top of the lesson, the writer explains that the new class is added
automatically to the MainMenu.xib without having to be dragged from Xcode to
IB.
But I don't see it.
How do I find the new class in IB?
Thanks!
--
Paul Denlinger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden