Re: Send action when textDidChange
Re: Send action when textDidChange
- Subject: Re: Send action when textDidChange
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 26 Jun 2001 14:05:42 +0200
On mardi, juin 26, 2001, at 01:55 PM, Stiphane Sudre wrote:
Why not make your window controller a delegate of the NSTextField,
implement the - (void)controlTextDidChange:(NSNotification
*)aNotification; and test that the value return for the key
@"NSFieldEditor" is the NSTextField you need to observe.
Little correction: [notification object] is the NSTextField you need to
observe/check . NSFieldEditor is the NSText.
As said in the NSNotification documentation.