• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -hitTest:withEvent: called twice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Core Data : Synchronizing objects with SQLite file
  • Next by Date: NSOutlineView view-based SourceView HeaderCell text is not white when selected
  • Previous by thread: Re: IKImageBrowserView, drawing on layers and retina display
  • Next by thread: NSOutlineView view-based SourceView HeaderCell text is not white when selected
  • Index(es):
    • Date
    • Thread