Mac Forums

Mac Forums (
-   OS X - Development and Darwin (
-   -   Problem with cocoa in xcode 3 (

osa 07-02-2008 04:45 PM

Problem with cocoa in xcode 3
I try to link TextFiled to my class
In class

@interface Contentregsnail : NSObject {
IBOutlet NSTextField *regexpression;

but when I try drag(Interface Builder) from Textfield to my class
in Outlets I can see only "deligate" and not "regexpression"
How can I fix it ?

xstep 07-02-2008 07:07 PM

I think you are looking at this backwards. Drag from the class to the Textfield and you'll see "regexpression". Normally dragging from a Textfield to a class you want to execute an Action (method).

If you are in the learning process, search the net for tutorials that involve the latest XCode 3. Interface Builder changed alot so older tutorials may be confusing.

This YouTube video may be helpful.

osa 07-03-2008 03:06 AM

thanks for help and for video

All times are GMT -4. The time now is 03:25 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.