Latest 0.1.0
Homepage https://github.com/yasinturkdogan/YTPasswordField
License MIT
Platforms ios 8.0
Authors

YTPasswordField adds a toggle button to default UITextfield to hide / show password. You can also use default password strength levels or add your own regexp to check pasword strength. Border color changes accordingly to indicate password strength.

You can use interface builder to change default icons or disable safety check.

alt text

Basic Usage

Set YTPasswordField as custom class for your UITextField and use attribute inspector.

How to register custom safety level?

yt.registerSafetyLevel(color: UIColor.red, regexp: ".{2,6}");

yt.registerSafetyLevel(color: UIColor.green, regexp: "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})");

Latest podspec

{
    "name": "YTPasswordField",
    "version": "0.1.0",
    "summary": "UITextfield with password strength checker functionality",
    "description": "YTPasswordField adds a toggle button to default UITextfield to hide / show password. You can use default password strength levels or add your own regexp to check pasword strength. Border color changes accordingly to indicate password strength.",
    "homepage": "https://github.com/yasinturkdogan/YTPasswordField",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Yasin Turkdogan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yasinturkdogan/YTPasswordField.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YTPasswordField/*",
    "resources": "YTPasswordField/Resources/*.png",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This