DistancePicker icon indicating copy to clipboard operation
DistancePicker copied to clipboard

touchesMoved

Open moleculo27 opened this issue 8 years ago • 1 comments

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

moleculo27 avatar Nov 13 '17 17:11 moleculo27

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?

qmathe avatar Oct 13 '18 10:10 qmathe