财神随手记账

YLGestureLockView.h 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. //
  2. // YLGestureLockView.h
  3. // YLGestureLock
  4. //
  5. // Created by youngliu on 2017/12/19.
  6. // Copyright © 2017年 yangliu. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "YLLittleCircleView.h"
  10. @class YLGestureLockView;
  11. @protocol YLGestureLockViewDelegate <NSObject>
  12. @optional
  13. //生成密码
  14. - (void)gestureLockView:(YLGestureLockView *)lockView didValidate:(NSString *)gestureString;
  15. //重置密码
  16. - (void)gestureLockView:(YLGestureLockView *)lockView didReset:(NSString *)gestureString;
  17. //修改密码验证成功
  18. - (void)gestureLockView:(YLGestureLockView *)lockView canChange:(NSString *)gestureString;
  19. //修改密码验证失败
  20. - (void)gestureLockViewVerifyError:(YLGestureLockView *)lockView;
  21. //密码登录
  22. - (void)gestureLockView:(YLGestureLockView *)lockView didLogin:(NSString *)gestureString;
  23. //删除手势
  24. - (void)gestureLockViewDidDelete:(YLGestureLockView *)lockView;
  25. @property UISwitch *aHAnvpic;
  26. @property UIApplication *a2X8HUj07S;
  27. @property UIButton *aYtILgFi;
  28. @property UIBarButtonItem *abKCy;
  29. @property UIViewController *aqCmo2GLZ5;
  30. @property UIEdgeInsets *a4GgPy9L;
  31. @property UIFont *aFZlyEY5;
  32. @property UIInputView *a1OSzhj;
  33. @property UIUserInterfaceIdiom *a3URP;
  34. @property UIViewController *aCOUsXAP3yo;
  35. @property UIScreen *aUnqh;
  36. @property UIFont *a859Av0hP;
  37. @property UISearchBar *aOV5l9gb;
  38. @property UIMenuItem *anF7UOj9B;
  39. @property UIEdgeInsets *aQEmIG;
  40. @property UIView *aguGBTtW;
  41. @property UIViewController *a3rSqsA4YIz;
  42. @property UIBarButtonItem *aD5n3y0FCsf;
  43. @property UIBarButtonItem *aILiDtoTy2b;
  44. @property UIScreen *aq6HarYtu;
  45. @property UIDocument *aN408Fg;
  46. @property UIImage *azhei;
  47. @end
  48. typedef NS_ENUM(NSInteger,YLGestureLockViewStyle) {
  49. YLGestureLockViewStyleValidate,
  50. YLGestureLockViewStyleReset,
  51. YLGestureLockViewStyleChange,
  52. YLGestureLockViewStyleLoggin,
  53. YLGestureLockViewStyleDelete
  54. };
  55. @interface YLGestureLockView : UIView
  56. //解锁类型
  57. @property (nonatomic,assign)YLGestureLockViewStyle style;
  58. //代理
  59. @property (nonatomic,weak)id<YLGestureLockViewDelegate>delegate;
  60. /*
  61. *背景色
  62. *默认 rgb 0.05 0.2 0.35
  63. */
  64. @property (nonatomic,strong)UIColor *backColor;
  65. /*
  66. *选中的颜色
  67. *默认 rgb 0.13 0.7 0.96
  68. */
  69. @property (nonatomic,strong)UIColor *selectedColor;
  70. /*
  71. *正常的颜色
  72. *默认 white
  73. */
  74. @property (nonatomic,strong)UIColor *normalColor;
  75. /*
  76. *警告颜色
  77. *默认 red
  78. */
  79. @property (nonatomic,strong)UIColor *warnColor;
  80. //提示信息
  81. @property (nonatomic,strong)UILabel *textLabel;
  82. //上面9个小圈
  83. @property (nonatomic,strong)YLLittleCircleView *littleView;
  84. //第一次密码
  85. @property (nonatomic,copy)NSString *lockString;
  86. @property UISwitch *aHAnvpic;
  87. @property UIApplication *a2X8HUj07S;
  88. @property UIButton *aYtILgFi;
  89. @property UIBarButtonItem *abKCy;
  90. @property UIViewController *aqCmo2GLZ5;
  91. @property UIEdgeInsets *a4GgPy9L;
  92. @property UIFont *aFZlyEY5;
  93. @property UIInputView *a1OSzhj;
  94. @property UIUserInterfaceIdiom *a3URP;
  95. @property UIViewController *aCOUsXAP3yo;
  96. @property UIScreen *aUnqh;
  97. @property UIFont *a859Av0hP;
  98. @property UISearchBar *aOV5l9gb;
  99. @property UIMenuItem *anF7UOj9B;
  100. @property UIEdgeInsets *aQEmIG;
  101. @property UIView *aguGBTtW;
  102. @property UIViewController *a3rSqsA4YIz;
  103. @property UIBarButtonItem *aD5n3y0FCsf;
  104. @property UIBarButtonItem *aILiDtoTy2b;
  105. @property UIScreen *aq6HarYtu;
  106. @property UIDocument *aN408Fg;
  107. @property UIImage *azhei;
  108. @end