Problem with cocoa in xcode 3

osa


Joined
Jul 2, 2008
Messages
3
Reaction score
0
Points
1
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
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
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.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top