• 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: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired


  • Subject: Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired
  • From: Ben Kennedy <email@hidden>
  • Date: Tue, 08 Nov 2011 14:29:02 -0800

On 08 Nov 2011, at 2:17 pm, Conrad Shultz wrote:

> I'm not sure why you aren't receiving intermediate messages, but trying
> to key off intermediates is not a great pattern anyway.  Just attach two
> gesture recognizers, then you have the benefit of separating your action
> methods (which will be nice if you decide to change gestures later on).

Thanks Conrad (and Ludo, off-list); that's what I've decided to do.  Given what the doc said I thought I could be a bit lighter-weight by avoiding the need for a second gesture recognizer if I got the behaviour for free, but I agree with you that it's probably a better design to do it this way.

cheers,

-b

--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca

_______________________________________________

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

References: 
 >Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired (From: Jeffrey Oleander <email@hidden>)
 >Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired (From: Conrad Shultz <email@hidden>)

  • Prev by Date: Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired
  • Next by Date: Re: UIGestureRecognizer
  • Previous by thread: Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired
  • Next by thread: How to compiler arm assembler .s source file with Xcode 4.2?
  • Index(es):
    • Date
    • Thread