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 PROTECTED]> 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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/jens%40mooseyard.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]