Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired
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