Skip to content

birdmichael/BMTextField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

BMTextField -- 一款带动画的输入框

Resources

License

Stars

Watchers

Forks

Packages

No packages published