How do you add class outlets in Xcode 3?

I'm working on a tutorial that I found and are wondering on how to add class outlets like in this photo of the tutorial ( http://dl.dropbox.com/u/3783094/Screen%20shot%202011-02-23%20at%2012.57.44%20PM. png ) How would I do that in Xcode 3?

iMac, Mac OS X (10.6.4), Mac Mini/MacBook Pro

Posted on Feb 23, 2011 10:00 AM

Reply
17 replies

Feb 23, 2011 4:10 PM in response to paniclabs

You must add the object to Interface Builder as well. Drag an NSObject (it might be called an Object in your version of Interface Builder) from the Library to the document window. In the identity inspector, change the NSObject's class to your class. Then you can make connections to your object.

If that answer doesn't solve your problem, you're going to need to learn the basics of Cocoa. Get a book or go through some online tutorials. CocoaDevCentral has a good series of tutorials, although they use an older version of Xcode.

http://www.cocoadevcentral.com

Go through the Learn Cocoa and Learn Cocoa 2 tutorials. If you hate the CocoaDevCentral tutorials, search Google and YouTube for cocoa tutorials. There are lots of tutorials online that teach the basics of Cocoa, like instantiating objects and making connections.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do you add class outlets in Xcode 3?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.