Does NSTextField sends delegate messages to itself?
Does NSTextField sends delegate messages to itself?
- Subject: Does NSTextField sends delegate messages to itself?
- From: Ron Fleckner <email@hidden>
- Date: Tue, 16 Sep 2008 16:37:24 +1000
Greetings,
I've subclassed NSTextField so that I can override -
acceptsFirstResponder to return NO. I've noticed an unexpected
behaviour which I hope is the right thing because now I want to rely
on it. To wit: without explicitly setting the text field's delegate,
I can receive delegate methods such as -textDidEndEditing:.
So my question is, I suppose, does NSTextField send delegate messages
to instances of itself?
Ron
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden