BDDROneFingerZoomGestureRecognizer
BDDROneFingerZoomGestureRecognizer copied to clipboard
UIGestureRecognizer subclass to enable one-finger-zoom gestures.
BDDROneFingerZoomGestureRecognizer
Description
UIGestureRecognizer subclass to enable one-finger-zoom gestures.
This concrete subclass of UIGestureRecognizer enables one-finger-zooming (like in the Google Maps iOS app). It has support for elastic bouncing, like UIScrollView does:
If you're going to use this with UIScrollView or want to see it in action make sure to check out BDDRScrollViewAdditions.
Installation
Simply add the files in the BDDROneFingerZoomGestureRecognizer.h and BDDROneFingerZoomGestureRecognizer.m to your project or add BDDROneFingerZoomGestureRecognizer to your Podfile if you're using CocoaPods.
Documentation
Everything is documented in the header file. A rendered version is available on CocoaDocs.
Customization
There are several properties that change the default behavior, especially interesting are numberOfTapsRequired, minimumPressDuration and allowableMovement. For more info see the header.
Contact
Follow @bddckr on Twitter.
Copyright and License
Copyright (c) 2013-2014 Christopher - Marcel Böddecker
Licensed under The MIT License (MIT).


