• 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: textDidEndEditing delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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();
}


References: 
 >textDidEndEditing delegate? (From: Richard Adams <email@hidden>)

  • Prev by Date: Re: Document Icons
  • Next by Date: NSSmallControlSize in programatically creating an NSPopUpButtonCell?
  • Previous by thread: textDidEndEditing delegate?
  • Next by thread: old-style plists
  • Index(es):
    • Date
    • Thread