Re: textDidEndEditing delegate?
Re: textDidEndEditing delegate?
- Subject: Re: textDidEndEditing delegate?
- From: email@hidden (mikevannorsdel)
- Date: Mon, 26 Nov 2001 10:15:15 -0700
Use:
- (void)controlTextDidChange:(NSNotification*)aNotification
{
NSBeep();
}
On Saturday, November 24, 2001, at 02:28 PM, Richard Adams wrote:
I need to do some processing after each key press in a
text edit field.
It seemed like the way to go was to use the
textDidEndEditing method sent to the delegate of an
NSTextField. I saw in the NSTextField.html docs that:
"An NSTextField can be assigned a delegate, who is
then informed of delegate messages sent by the
window's field editor, such as textShouldEndEditing:."
OK, I add
- (void)textDidChange:(NSNotification *)aNotification
{
NSBeep();
}