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

touchesMoved #2

Open
moleculo27 opened this issue Nov 13, 2017 · 1 comment
Open

touchesMoved #2

moleculo27 opened this issue Nov 13, 2017 · 1 comment

Comments

@moleculo27
Copy link

Is it possible to add the touchesMoved event to the framework?

@qmathe
Copy link
Owner

qmathe commented Oct 13, 2018

Sorry for the very late reply. I'm putting together a small update to the framework, so I can take a look at this.

What do you want to do precisely? Are you interested in forcing DistancePicker to use a custom pan recognizer that you provide or do you want to have access to the latest touches by overriding a method like DistancePicker.pan(_:touches:)?

Currently you can already get locations of moved touches by overriding DistancePicker.pan(_:) and calling UIGestureRecognizer.location(of:Touch:in:) or UIGestureRecognizer.location(in:), when the recognizer state is equal to changed. Would this be enough for your needs?

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