Re: textDidEndEditing
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