• 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
Responder chain and cancelOperation:, how to forward on?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Responder chain and cancelOperation:, how to forward on?


  • Subject: Responder chain and cancelOperation:, how to forward on?
  • From: Sean McBride <email@hidden>
  • Date: Wed, 01 Oct 2014 13:39:57 -0400
  • Organization: Rogue Research Inc.

Hi all,

I have a custom view which implements cancelOperation: (from NSResponder).
Depending on the view's internal state it sometimes responds to the escape
key (and sometimes doesn't).  When it doesn't respond, I want to pass the
message along the responder chain.  But calling either [super cancelOperation:]
or [[self nextResponder] cancelOperation:] both result in an 'object does not
respond to selector' exception.  I thought that's how one passed things along
the responder chain... what should I be doing?

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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


  • Follow-Ups:
    • Re: Responder chain and cancelOperation:, how to forward on?
      • From: Felix Franz <email@hidden>
  • Prev by Date: Re: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • Next by Date: Re: Responder chain and cancelOperation:, how to forward on?
  • Previous by thread: Re: Can a 32bit only MacOS Application use 64bit-only Frameworks?
  • Next by thread: Re: Responder chain and cancelOperation:, how to forward on?
  • Index(es):
    • Date
    • Thread