BMTextField 0.1.2.4

BMTextField 0.1.2.4

Maintained by BirdMichael.



BMTextField 0.1.2.4

  • By
  • birdmichael

BMTextField

CI Status Version License Platform

截图

说明

[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.