Skip to content
 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMTextField

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

截图

说明

[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, birdmichael126@gmail.com

License

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

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages