Gestures - updated with delegates
Here's the updated section from the readme:
Fine-tuning gesture recognition
If you need to control which gestures are recognized in which situation, you can override some methods.
For example, by default only one gesture recognizer will be successful, but if you want to enable both zooming (pinch) and panning at the same time, allow both recognizers:
g = Gestures() g.recognize_simultaneously = lambda gr, other_gr: gr == Gestures.PAN and other_gr == Gestures.PINCH
The other methods you can override are
fail_other, corresponding to the other UIGestureRecognizerDelegate methods.
All regular recognizers have convenience names that you can use like in the example above:
If you need to set these per gesture, instantiate separate
If you need even finer control and are not afraid to import
objc_util, check the
objc_*_defaultmethods in the code.