Re: Cocoa alternative for method aliasing?
Re: Cocoa alternative for method aliasing?
- Subject: Re: Cocoa alternative for method aliasing?
- From: David Duncan <email@hidden>
- Date: Tue, 29 Mar 2011 11:31:16 -0700
On Mar 29, 2011, at 11:20 AM, Lou Zell wrote:
> Mornin' Devs,
>
> Is there a recommended pattern for passing events up the responder chain
> without subclassing a class and overriding the methods I'm interested in?
> Here is an explanation of what I'm trying to do:
There is a certain question of "why?" in this, but I think the answer is that you should use the various control events that are exposed for -addTarget:action:forControlEvents:. By doing so you can get action messages for basically every touch interaction without needing to subclass to forward messages.
--
David Duncan
_______________________________________________
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