Main Page | Report this Page
Computers Forum Index  »  Computer Languages (Objective-C)  »  different versions of XCode and Tutorial?...
Page 1 of 1    

different versions of XCode and Tutorial?...

Author Message
...
Posted: Sat Jun 06, 2009 3:04 pm
Guest
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.
 
C. Mucha...
Posted: Tue Jun 09, 2009 2:01 pm
Guest
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...
Quote:
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.
 
...
Posted: Tue Jun 09, 2009 9:04 pm
Guest
That's all a bit Chinese to me, but thanks anyway.

I've scored Leopard, so hopefully can get up and running soon.

Thank you again.


On 2009-06-09, C. Mucha <c.h.m at (no spam) freenet.de> wrote ...
Quote:
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.
 
Dude...
Posted: Sun Jun 14, 2009 5:46 pm
Guest
It's the version of xcode/interface builder you are using. You are
probably using version 3.0+ of xcode. I had the same problem with the
same tutorial. I would recommend getting Cocoa Programming for Mac OSX
by Aaron Hillegass, Third Edition.

On 2009-06-06 07:04:23 -0400, learning-xcode at (no spam) yahoo.com said:

Quote:
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.
 
 
Page 1 of 1    
All times are GMT
The time now is Fri Nov 27, 2009 2:43 pm