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

Re: textDidEndEditing


  • Subject: Re: textDidEndEditing
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 11 Nov 2004 16:54:41 -0800


On Nov 11, 2004, at 4:48 PM, Andrew White wrote:


On Nov 11, 2004, at 4:03 PM, Andrew White wrote:
> When using a delegate of a text field, what is the difference between
> the 'textDidEndEditing' and 'controlTextDidEndEditing' methods? When
> should I use one rather than the other?
The difference is that the text field itself receives the former, and
sends the latter to its delegate, so it is the latter you should
implement. textDidEndEditing is for text view delegates.

"textDidEndEditing is for text view delegates"

Yeah, I've seen that line before in Apple documentation. The problem is that my interpretation of what you have just said is:

"the text field sends controlDidTextEndEditing to its delegate. textDidEndEditing is for the delegate"

to which I respond "huh?" It still looks like you are saying that both are sent to the delegate.

There is a difference between a text field and a text view. Look up the documentation on NSTextField and NSTextView.


Douglas Davidson

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: textDidEndEditing
      • From: Andrew White <email@hidden>
References: 
 >textDidEndEditing (From: Andrew White <email@hidden>)
 >Re: textDidEndEditing (From: Douglas Davidson <email@hidden>)
 >Re: textDidEndEditing (From: Andrew White <email@hidden>)

  • Prev by Date: Re: textDidEndEditing
  • Next by Date: Re: Dock Quit menu item?
  • Previous by thread: Re: textDidEndEditing
  • Next by thread: Re: textDidEndEditing
  • Index(es):
    • Date
    • Thread