CJMGesture
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
- 平移手势
- (void)pan:(UIPanGestureRecognizer *)sender {
[sender cjmg_pandView:sender.view];
}
- 缩放手势
- (void)pinch:(UIPinchGestureRecognizer *)sender {
[sender cjmg_pinchView:sender.view];
}
- 旋转手势
- (void)rotate:(UIRotationGestureRecognizer *)sender {
[sender cjmg_rotateView:sender.view];
}
Requirements
Installation
CJMGesture is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CJMGesture'
Author
chenjm, [email protected]
License
CJMGesture is available under the MIT license. See the LICENSE file for more info.