BSErrorMessageView

by Beniamiiin

Error message view for text field

197 Stars 23 Forks Last release: Not found MIT License 19 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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 bssetupErrorMessageViewWithView:errorMessageView];

Show/hide methods
[self.loginTextField bsshowError]; [self.emailTextField bs_hideError]; ```

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.