Latest 0.0.2
Homepage https://github.com/Coderzhangsl/SLPasswordInputView
License MIT
Platforms ios , requires ARC
Authors

代理:

    • (void)passwordInputView:(SLPasswordInputView )inputView willBeginInputWithPassword:(NSString )password;
    • (void)passwordInputView:(SLPasswordInputView )inputView willEndInputWithPassword:(NSString )password;
    • (void)passwordInputView:(SLPasswordInputView )inputView didChangeInputWithPassword:(NSString )password;
  • -(void)passwordInputView:(SLPasswordInputView )inputView didFinishInputWithPassword:(NSString )password;

属性

  • 密码长度
  • @property (assign, nonatomic) NSUInteger passwordLength;
  • 密码字符大小
  • @property (assign, nonatomic) CGFloat passwordWidth;
  • 密码字符颜色(只在使用默认密码字符图片时有效
  • @property (strong, nonatomic) UIColor *passwordColor;
  • 密码字符图片(正方形图片,默认为黑色圆点)
  • @property (strong, nonatomic) UIImage *passwordImage;
  • 显示边框
  • @property (assign, nonatomic) BOOL showBorder;
  • 边框圆角大小
  • @property (assign, nonatomic) CGFloat borderCornerRadius;
  • 边框线宽
  • @property (assign, nonatomic) CGFloat borderWidth;
  • 边框颜色
  • @property (strong, nonatomic) UIColor *borderColor;
  • 键盘类型
  • @property (assign, nonatomic) UIKeyboardType keyboardType;
  • 返回按钮类型
  • @property (assign, nonatomic) UIReturnKeyType returnKeyType;
  • 密码文本
  • @property (copy, nonatomic, nullable) NSString *passwordText;
  • 内边距
  • @property (assign, nonatomic) UIEdgeInsets contentInsets;

picture

Latest podspec

{
    "name": "SLPasswordInputView",
    "version": "0.0.2",
    "summary": "A password input view, easy to use. (u4e00u4e2au5bc6u7801u8f93u5165u63a7u4ef6)",
    "description": "A password input view, easy to use. u4e00u4e2au5bc6u7801u8f93u5165u63a7u4ef6uff0cu4effu5faeu4fe1u652fu4ed8u3002u4f7fu7528u7b80u5355uff0cu53efu5b9au5236u6027u9ad8",
    "homepage": "https://github.com/Coderzhangsl/SLPasswordInputView",
    "license": "MIT",
    "authors": {
        "Coderzhangsl": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/Coderzhangsl/SLPasswordInputView.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "SLPasswordInputView-Demo/SLPasswordInputView-Demo/SLPasswordInputView",
        "SLPasswordInputView-Demo/SLPasswordInputView-Demo/SLPasswordInputView/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This