Skip to content
BMTextField -- 一款带动画的输入框
Objective-C Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BMTextField
Example
.gitignore
.travis.yml
1.gif
BMTextField.podspec
LICENSE
README.md
_Pods.xcodeproj

README.md

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

License

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

You can’t perform that action at this time.