Re: Removing an action from a subclass
Christiaan Hofman <[email protected]> Tue, 21 Dec 2010 22:57:44 +0100
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Dec 21, 2010, at 21:25, Kyle Sluder wrote: > On Tue, Dec 21, 2010 at 10:37 AM, 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? > > This is a problem we had too. There's no standard way to do this. We > reimplemented the responder chain as part of OAApplication and called > it OATargetSelection: > https://github.com/omnigroup/OmniGroup/blob/master/Frameworks/OmniAppKit/OAApplication.m > > --Kyle Sluder Thanks, but I don't want to go that far, also as overriding respondsToSelector does the trick for me. I personally think that I never should have to do this, so I consider the fact that I have to as a bug in the system frameworks, especially in the case where I need it (I hate it when Apple breaks things by doing too much). Christiaan