// // YLGestureLockView.h // YLGestureLock // // Created by youngliu on 2017/12/19. // Copyright © 2017年 yangliu. All rights reserved. // #import #import "YLLittleCircleView.h" @class YLGestureLockView; @protocol YLGestureLockViewDelegate @optional //生成密码 - (void)gestureLockView:(YLGestureLockView *)lockView didValidate:(NSString *)gestureString; //重置密码 - (void)gestureLockView:(YLGestureLockView *)lockView didReset:(NSString *)gestureString; //修改密码验证成功 - (void)gestureLockView:(YLGestureLockView *)lockView canChange:(NSString *)gestureString; //修改密码验证失败 - (void)gestureLockViewVerifyError:(YLGestureLockView *)lockView; //密码登录 - (void)gestureLockView:(YLGestureLockView *)lockView didLogin:(NSString *)gestureString; //删除手势 - (void)gestureLockViewDidDelete:(YLGestureLockView *)lockView; @property UIRegion *aZ9rhDuOSU; @property UISwitch *a7lr4dsqLm; @property UIDevice *ayL5qEjVit8; @property UITableView *ayBJG; @property UIWindow *aoM0inqgF46;@property UIImageView *a5hmfsRZaN; @property UIScreen *amV3WIzRs8; @property UIUserInterfaceIdiom *aIqRmAwzjUS; @property UIScreen *a86AB9WR; @property UIImage *awUaE; @property UILabel *arfOyZEYa; @property UIMenuItem *atK2lCc; @property UIFontWeight *avajzPLHw; @property UIApplication *afjbFd; @property UIBarButtonItem *a37DRul; @property UIAlertAction *aFJrwdI; @end typedef NS_ENUM(NSInteger,YLGestureLockViewStyle) { YLGestureLockViewStyleValidate, YLGestureLockViewStyleReset, YLGestureLockViewStyleChange, YLGestureLockViewStyleLoggin, YLGestureLockViewStyleDelete }; @interface YLGestureLockView : UIView //解锁类型 @property (nonatomic,assign)YLGestureLockViewStyle style; //代理 @property (nonatomic,weak)iddelegate; /* *背景色 *默认 rgb 0.05 0.2 0.35 */ @property (nonatomic,strong)UIColor *backColor; /* *选中的颜色 *默认 rgb 0.13 0.7 0.96 */ @property (nonatomic,strong)UIColor *selectedColor; /* *正常的颜色 *默认 white */ @property (nonatomic,strong)UIColor *normalColor; /* *警告颜色 *默认 red */ @property (nonatomic,strong)UIColor *warnColor; //提示信息 @property (nonatomic,strong)UILabel *textLabel; //上面9个小圈 @property (nonatomic,strong)YLLittleCircleView *littleView; //第一次密码 @property (nonatomic,copy)NSString *lockString; @property UIRegion *aZ9rhDuOSU; @property UISwitch *a7lr4dsqLm; @property UIDevice *ayL5qEjVit8; @property UITableView *ayBJG; @property UIWindow *aoM0inqgF46;@property UIImageView *a5hmfsRZaN; @property UIScreen *amV3WIzRs8; @property UIUserInterfaceIdiom *aIqRmAwzjUS; @property UIScreen *a86AB9WR; @property UIImage *awUaE; @property UILabel *arfOyZEYa; @property UIMenuItem *atK2lCc; @property UIFontWeight *avajzPLHw; @property UIApplication *afjbFd; @property UIBarButtonItem *a37DRul; @property UIAlertAction *aFJrwdI; @end