• 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: NSTextField Delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField Delegate


  • Subject: Re: NSTextField Delegate
  • From: Seth Willits <email@hidden>
  • Date: Fri, 26 Mar 2004 17:40:48 -0800

On Mar 26, 2004, at 5:25 PM, James Spencer wrote:

- (void)textDidChange:(NSNotification *)aNotification

You said these are text fields and your subject line says NSTextFields, right? These are controls and the textDidChange: delegate method doesn't get called; rather controls have the controlTextDidChange: method called.

Well that's interesting.
I didn't read the fine print. The reference says:



textDidChange:

- (void)textDidChange:(NSNotification *)aNotification
Forwards this message to the receivers cell if it responds and posts an NSControlTextDidChangeNotification to the default notification center. ####This method causes the receivers delegate to receive a controlTextDidChange: message.#### See the NSControl class specification for more information on the text delegate method.



Thanks for your help,


Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"One day you'll be wandering through the darkness looking for guidance,
inspiration, and your purpose in life, and the next you'll turn around
and realize they've been standing right next to you the whole time."
------------------------------------------------------------------------ ---
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSTextField Delegate (From: Seth Willits <email@hidden>)
 >Re: NSTextField Delegate (From: j o a r <email@hidden>)
 >Re: NSTextField Delegate (From: Seth Willits <email@hidden>)
 >Re: NSTextField Delegate (From: James Spencer <email@hidden>)

  • Prev by Date: Re: NSTextField Delegate
  • Next by Date: Re: controls not rendered, sometimes
  • Previous by thread: Re: NSTextField Delegate
  • Next by thread: Question about Deprecated Methods
  • Index(es):
    • Date
    • Thread