Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

UIGestureRecognizer subclass to enable one-finger-zoom gestures.

License

Notifications You must be signed in to change notification settings

bddckr/BDDROneFingerZoomGestureRecognizer

Repository files navigation

BDDROneFingerZoomGestureRecognizer

The MIT License (MIT) Platform Version

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:

Example

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).

About

UIGestureRecognizer subclass to enable one-finger-zoom gestures.

Resources

License

Stars

Watchers

Forks

Packages

No packages published