TextField Delegates
TextField Delegates
- Subject: TextField Delegates
- From: Jane <email@hidden>
- Date: Fri, 28 Dec 2001 08:24:43 -0700
I'm sure I'm missing something elementary but..
I have a NSTextField object in a window created in IB and designated my
controller object as its delegate. However, whenever I enter, change
the text , or end editing in the NSTextField, none of my delegate
methods are sent the expected messages.
I have verified in my awakeFromNib method that my controller is indeed
the delegate (via testing using the NSTextField delegate method is
equal to self) and, using the NSObject method description, that my
IBOutlet is an NSTextField. I put an NSTextView in the window via IB
and set my controller as its delegate. My delegate methods do get the
expected messages from the NSTextView.
Delegates that I have set up include: textShouldBeginEditing,
textDidEndEditing, textDidChange, among others documented for
NSTextField. What am I doing wrong???
TIA. Jane