Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   Problem with cocoa in xcode 3 (http://www.mac-forums.com/forums/os-x-development-darwin/114264-problem-cocoa-xcode-3-a.html)

osa 07-02-2008 05:45 PM

Problem with cocoa in xcode 3
 
Hi.
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 ?
Thanks

xstep 07-02-2008 08: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 04:06 AM

thanks for help and for video


All times are GMT -4. The time now is 11:57 PM.

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