• 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: CAShapeLayer and touches?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CAShapeLayer and touches?


  • Subject: Re: CAShapeLayer and touches?
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Tue, 8 Dec 2009 16:28:21 -0500

I send to you many thanks.

On Tue, Dec 8, 2009 at 4:17 PM, David Duncan <email@hidden> wrote:

> On Dec 8, 2009, at 12:52 PM, Eric E. Dolecki wrote:
>
> > Okay - so how would I use the bounds? I thought I tried that in my
> initial code sample:
>
>
> Your making this too complicated :).
>
> if([self.view.layer hitTest:[touch locationInView:self]] == pointLayer]) {
>        // my shape layer got hit
> }
> --
> David Duncan
> Apple DTS Animation and Printing
>
>


--
http://ericd.net
Interactive design and development
_______________________________________________

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

  • Follow-Ups:
    • Re: CAShapeLayer and touches?
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >CAShapeLayer and touches? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: CAShapeLayer and touches? (From: David Duncan <email@hidden>)
 >Re: CAShapeLayer and touches? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: CAShapeLayer and touches? (From: David Duncan <email@hidden>)
 >Re: CAShapeLayer and touches? (From: "Eric E. Dolecki" <email@hidden>)
 >Re: CAShapeLayer and touches? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: NSRulerMarker and dragging
  • Next by Date: Re: [iPhone] UINavigationController and UINavigationBar
  • Previous by thread: Re: CAShapeLayer and touches?
  • Next by thread: Re: CAShapeLayer and touches?
  • Index(es):
    • Date
    • Thread