Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired

2011-11-10 Thread Matt Neuburg
On Tue, 08 Nov 2011 12:56:03 -0800, Ben Kennedy said: >>From >>http://developer.apple.com/library/ios/#documentation/uikit/reference/UITapGestureRecognizer_Class/Reference/Reference.html >> : > >> Although taps are discrete gestures, they are discrete for each state of the >> gesture recognizer;

Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired

2011-11-08 Thread Ben Kennedy
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

Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired

2011-11-08 Thread Conrad Shultz
On 11/8/11 1:14 PM, Jeffrey Oleander wrote: >> In order to respond to both a single and double tap, do I >> thus need to attach two gesture recognizers? > > Go another layer more primitive: Please don't drop down to UITouch unless you have to (which mainly means if you are supporting pre-UIGestur

Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired

2011-11-08 Thread Ben Kennedy
On 08 Nov 2011, at 1:14 pm, Jeffrey Oleander wrote: >> In order to respond to both a single and double tap, do I >> thus need to attach two gesture recognizers? > > Go another layer more primitive: Yeah, I may end up just doing that. I wanted to use gesture recognizer(s) so that my containing

Re: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired

2011-11-08 Thread Jeffrey Oleander
> From: Ben Kennedy > Subject: UITapGestureRecognizer and state/action w/rt numberOfTapsRequired > To: "Cocoa-Dev List" > Date: Tuesday, 2011 November 8, 14:56 > From > http://developer.apple.com/library/ios/#documentation/uikit/reference/UITapGestureRecognizer_Cl

UITapGestureRecognizer and state/action w/rt numberOfTapsRequired

2011-11-08 Thread Ben Kennedy
>From >http://developer.apple.com/library/ios/#documentation/uikit/reference/UITapGestureRecognizer_Class/Reference/Reference.html > : > Although taps are discrete gestures, they are discrete for each state of the > gesture recognizer; thus the associated action message is sent when the > gestu