JKLLockScreenPincodeView.h 917 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // JKLLockScreenPincodeView.h
  3. // JKLib
  4. //
  5. // @date 2015. 03. 25.
  6. // @author Choi JoongKwan
  7. // @email joongkwan.choi@gmail.com
  8. // @brief Lock Screen Pin Code View (support to IB_DESIGNABLE)
  9. //
  10. #import <UIKit/UIKit.h>
  11. @protocol JKLLockScreenPincodeViewDelegate;
  12. IB_DESIGNABLE
  13. @interface JKLLockScreenPincodeView : UIView
  14. @property (nonatomic, weak) IBOutlet id<JKLLockScreenPincodeViewDelegate> delegate;
  15. @property (nonatomic, strong) IBInspectable UIColor * pincodeColor;
  16. @property (nonatomic, unsafe_unretained) IBInspectable BOOL enabled;
  17. @property (nonatomic, assign) NSUInteger maxPincodeLength;
  18. - (void)initPincode;
  19. - (void)appendingPincode:(NSString *)pincode;
  20. - (void)removeLastPincode;
  21. - (void)wasCompleted;
  22. @end
  23. @protocol JKLLockScreenPincodeViewDelegate<NSObject>
  24. @required
  25. - (void)lockScreenPincodeView:(JKLLockScreenPincodeView *)lockScreenPincodeView pincode:(NSString *)pincode;
  26. @end