Need help with BSErrorMessageView?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Beniamiiin
197 Stars 23 Forks MIT License 19 Commits 2 Opened issues

Description

Error message view for text field

Services available

!
?

Need anything else?

Contributors list

# 149,041
Ruby
Swift
Xcode
xcodepr...
10 commits
# 82,842
Swift
swift5
json-fi...
Xcode
3 commits

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.