Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

BSErrorMessageView

Error message view for text field

Image

Install

pod 'BSErrorMessageView', :git => 'https://github.com/BenjaminSarkisyan/BSErrorMessageView.git'

Usage

Setup message view with default settings

[self.loginTextField bs_setupErrorMessageViewWithMessage:@"Minimum 3 characters"];
[self.emailTextField bs_setupErrorMessageViewWithMessage:@"Incorrect email format"];

Or if you want setup message view, then

BSErrorMessageView *errorMessageView = [BSErrorMessageView errorMessageViewWithMessage:@"Minimum 3 characters"];
errorMessageView.mainTintColor = [UIColor greenColor];
errorMessageView.textFont = [UIFont systemFontOfSize:16.f];

[self.loginTextField bs_setupErrorMessageViewWithView:errorMessageView];

Show/hide methods

[self.loginTextField bs_showError];
[self.emailTextField bs_hideError];

About

Error message view for text field

Resources

License

Releases

No releases published
You can’t perform that action at this time.