Simple Pinch Toggle

The Simple Pinch Toggle patch recognizes a pinch gesture, and toggles between two states when the gesture finishes. Upon recognizing that a pinch gesture has occurred, it will cancel all other interactions on the view or its subviews. The simple variant of this patch takes care of automatically animating to the appropriate state.

Pinch gestures are commonly used to scale a view.