Skip to content
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

Option for a gesture recognizer to be injected #14

Closed
SteveFortune opened this issue Mar 11, 2014 · 3 comments
Closed

Option for a gesture recognizer to be injected #14

SteveFortune opened this issue Mar 11, 2014 · 3 comments
Assignees

Comments

@SteveFortune
Copy link
Member

At the moment, it creates a gesture recognizer and attaches it to the superview 'behind the scenes', which causes issues if you have mutilple helpers acting on one superview as they all implicitly set its gesture recognizer.

What would be great is if we could configure a gesture recognizer outside if this class and inject it so that we can use lots of these helpers to express relations between tables/collections without causing conflict.

Its only an idea at the moment but this will make it easier to build drag and drop relations between lots of tables in the future.

@SteveFortune SteveFortune self-assigned this Mar 11, 2014
@cvconover
Copy link

Is this also causing my entire View (the entire screen) to capture dnd events? Because my other swipe gestures are not activating when I have i3dnd enabled. Is there a workaround for this?

@SteveFortune
Copy link
Member Author

Not sure about this as Ive never used it alongside other gesture recognizers.

A fix for this would probably be to implement gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer in a UIGestureRecognizerDelegate. Ill have to look into this further though.

@SteveFortune
Copy link
Member Author

Should be fixed for v2 now. You can either inject a gesture recogniser into the new coordinator, or it will create one behind the scenes for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants