Re: -hitTest:withEvent: called twice?
Re: -hitTest:withEvent: called twice?
- Subject: Re: -hitTest:withEvent: called twice?
- From: Luke Hiesterman <email@hidden>
- Date: Mon, 10 Feb 2014 22:55:44 +0000
- Thread-topic: -hitTest:withEvent: called twice?
Yes, it’s normal. The system may tweak the point being hit tested between the calls. Since hitTest should be a pure function with no side-effects, this should be fine.
Luke
On Feb 10, 2014, at 2:50 PM, Rick Mann <email@hidden> wrote:
> I'm seeing -hitTest:withEvent: called twice for a single touch. The stack is different between the two. Is it normal for a single view to be hit-tested twice?
>
> Thanks,
>
> --
> Rick
>
>
>
> _______________________________________________
>
> 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