If I want my application to do something when the screen is single tapped (touch.tapCount == 1) and something different when the screen is double tapped (touch.tapCount == 2), what is the best way of handling this?
I want the actions that the single tap triggers to only occur when the screen is single tapped. I don't want double tapping the screen to do both the single tap action *and* the double tap actions.
Is there a way to do this without using an NSTimer? Right now, I've got an NSTimer that starts in the touchesEnded event method if the tap count is equal to 1. Also in the touchesEnded event method is code that... if the tapCount is greater than 1, invalidates the timer. I have the timer duration set to 0.25 seconds. This works... but I'd like a more elegant solution.