//
// PRPCircleGestureRecognizer.h
// RecoderGestureRecognizer
//
// Created by qd redbox on 13-4-22.
// Copyright (c) 2013年 Johnson. All rights reserved.
//
//
//学习交流使用,本代码不足以用与商业使用
//学习交流群qq:204161656
//作者qq:936642419
//四种手势识别,一种是向右的箭头(>)一种是向左的箭头(<),还有圆圈(o,此圆圈被限制为逆时针圆圈),还有一个是双指向下(||)
@protocol GestureRecognizerDelegate <NSObject>
-(void)gestureWithName:(NSString *)gestureName;
@end
#import <UIKit/UIKit.h>
#import <UIKit/UIGestureRecognizerSubclass.h>
@interface SelfGestureRecognizer : UIGestureRecognizer
{
CGPoint lowX;
CGPoint lowY;
CGPoint highX;
CGPoint highY;
CGFloat radius;
CGPoint center;
CGFloat deviation;
BOOL moved;
int moveNum;
BOOL twoFiger;
id<GestureRecognizerDelegate> _selfDelegate;
}
@property (nonatomic, retain) id<GestureRecognizerDelegate> selfDelegate;
@property (nonatomic, retain) NSMutableArray *points;
@property (nonatomic, retain) NSMutableArray *secondPoints;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
SelfGestureRecognizer.zip (3个子文件)
SelfGestureRecognizer
.DS_Store 6KB
SelfGestureRecognizer.m 9KB
SelfGestureRecognizer.h 1KB
共 3 条
- 1
Goss_90
- 粉丝: 9
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页