Re: Handle mouse event (click) in CALayer sublayers
Re: Handle mouse event (click) in CALayer sublayers
- Subject: Re: Handle mouse event (click) in CALayer sublayers
- From: Jens Alfke <email@hidden>
- Date: Mon, 9 Jun 2008 15:11:41 -0700
The GeekGameBoard sample app demonstrates this. Look in the BoardView
class.
--Jens // via iPhone
On Jun 9, 2008, at 1:41 PM, "Wayne Shao" <email@hidden> wrote:
If a CALayer has many sublayers, what is the best way to find out
the layer
that should receive mouse click event?
Is there a good example of handling mouse event for layer-based
NSView?
Thanks,
--
Wayne Shao
_______________________________________________
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
_______________________________________________
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