Latest 0.1.2.4
Homepage https://github.com/birdmichael/BMTextField
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

截图

BMTextField

说明

[textField2 setVerifyText:^BOOL(NSString * _Nonnull text, UILabel * _Nonnull errorLabel) {
        errorLabel.text = @"密码必须大于10位";
        if (text.length >10) {
            return YES;
        }else{
            return NO;
        }
    }];

验证可自定义errorLabel, 但内部处理好隐藏显示

安装

BMTextField is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'BMTextField'

Author

birdmichael, [email protected]

License

BMTextField is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BMTextField",
    "version": "0.1.2.4",
    "summary": "A short description of BMTextField.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/birdmichael/BMTextField",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "birdmichael": "[email protected]"
    },
    "source": {
        "git": "https://github.com/birdmichael/BMTextField.git",
        "tag": "0.1.2.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BMTextField/Classes/**/*"
}

Pin It on Pinterest

Share This