Skip to content

dream5788/BMTextField

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Languages

  • Objective-C 90.4%
  • Ruby 9.6%