• 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: Question about NSResponder cancelOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Question about NSResponder cancelOperation (From: Iain Delaney <email@hidden>)
 >Re: Question about NSResponder cancelOperation (From: email@hidden)

  • Prev by Date: Custom NSView That is iChat Chat Log Like
  • Next by Date: Re: Custom NSView That is iChat Chat Log Like
  • Previous by thread: Re: Question about NSResponder cancelOperation
  • Next by thread: Re: Question about NSResponder cancelOperation
  • Index(es):
    • Date
    • Thread