• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Send action when textDidChange
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Send action when textDidChange (From: Ivan Myrvold <email@hidden>)

  • Prev by Date: Re: Send action when textDidChange
  • Next by Date: Re: Send action when textDidChange
  • Previous by thread: Re: Send action when textDidChange
  • Next by thread: Re: Send action when textDidChange
  • Index(es):
    • Date
    • Thread