• 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: Andrew White <email@hidden>
  • Date: Fri, 12 Nov 2004 11:48:17 +1100

Douglas Davidson 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.


-- Andrew White _______________________________________________ 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: Douglas Davidson <email@hidden>
References: 
 >textDidEndEditing (From: Andrew White <email@hidden>)
 >Re: textDidEndEditing (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: textDidEndEditing
  • Next by Date: Re: textDidEndEditing
  • Previous by thread: Re: textDidEndEditing
  • Next by thread: Re: textDidEndEditing
  • Index(es):
    • Date
    • Thread