Re: Question about NSResponder cancelOperation
Re: Question about NSResponder cancelOperation
- Subject: Re: Question about NSResponder cancelOperation
- From: Iain Delaney <email@hidden>
- Date: Sat, 24 Feb 2007 03:46:16 -0500
I don't think that is necessary. My controller is a subclass of
NSWindowController, which inherits from NSResponder.
If I handled it in the NSTextField, I'd still have to get the message
back up to the window controller, so that it could deal with the
situation.
And I still don't set why the sender of the cancelOperation method is
nil, but the method definitely gets called.
Iain Delaney
email@hidden
On 24-Feb-07, at 1:01 AM, email@hidden wrote:
Shouldn't the cancelOperation be implemented in a subclass of
NSTextField, then passed to super after your custom action?
On Feb 23, 2007, at 8:43 PM, Iain Delaney wrote:
My controller class implements cancelOperation,
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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