To instantiate the class, you first have to add a new class (including a .h
file) in the XCode window and then add it in the Interface Builder.
see
http://kevincathey.com/interface-builder/subclassing-in-interface-builder-3/
learning-xcode at (no spam) yahoo.com> schrieb im Newsbeitrag
news:023a3f9e$0$20652$c3e8da3 at (no spam) news.astraweb.com...
Hi,
I'm working through the excellent tutorial by Bert Altenberg, Alex Clarke
and Philippe Mougin, called 'Become an XCoder'.
I'm on 'Creating an instance in Interface Builder', but in my version of
XCode (2.5), I can't find how to add an object to to the class I've
just created. The text says..
'Back in Interface Builder, go to the Library palette and choose Objects &
Controllers from the top menu. Then drag an Object (blue cube) from the
palette
to the MainMenu.nib class.'
Yet if I look in that palette, all I can see are..
NSUserDefaultsController
NSObjectController
NSManagedObjectContext
NSArrayController
NSTreeController
I'm still using Mac OS-X 4.11, and can't install the new version of XCode
until
I've updated to Leopard, sure.
Can someone tell me how to add an object?
Thanks.