-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for multiple gestures of the same type with different parameters #295
Comments
Hi Shirk, we've considered this before, but it makes the system way more complicated, we ended up doing somethign like this instead:
^ This doesn't exist, but that's how we handed sliding and such. Hmm I'll have to think about it. |
I understand your reasoning and I can relate to it. I'm a great fan of RMQ and as an extend of it Redpotion and I have hopes that I can minimize porting |
FYI, BluePotion/Android works the same way (although it's super minimal at this point). Another good reason to keep events as simple as possible. |
I kind of like a mix of what the two of you are saying. for single gestures, do For an array of gesture possibilities create a second class to hold the complexity. |
I'm having a hard time adding two separate
:tap
gestures to my view.The goal is to trigger different actions if the view was tapped with one or two fingers.
I know in pure Cocoa-Touch this is possible by adding different recognizers and making use of
requestRecognizerToFail()
to differentiate.I think there should be a way in RMQ to do this:
The text was updated successfully, but these errors were encountered: