Re: Removing an action from a subclass

aglee <[email protected]> Tue, 21 Dec 2010 18:56:08 +0000 (GMT)
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
IIRC there isn't a way to tell the responder chain mechanism to "start the chain with this object instead of first responder".  You can only either send an action to a specific object, or you can target nil, which starts the chain at first responder.

I wonder if a simple hack would work.  You could try lying to the system and overriding respondsToSelector: to return NO for the action you want to pretend isn't implemented.

--Andy

On Dec 21, 2010, at 01:37 PM, Christiaan Hofman <[email protected]> wrote:

A view I subclass implements an action that I don't want to support in that view, however I would like the action to be send up the responder chain to the controller object. How can I disable the action in my subclass in such a way that the responder chain does not stop at this view, as if the action method was never implemented?

thanks,
Christiaan