BZGFormField
BZGFormField copied to clipboard
A text field with a validity indicator
I've declared an alert view message ,but it's never shown: `if (![text validateMinimumLength:8]) { field.alertView.title = @"Password is too short"; return NO; } else { return YES; }`
That would be amazing! Great Library!
Please guide me to handle empty field validation. Thank you.
The example for setting a validation block is ``` Objective-C [self.passwordField setTextValidationBlock:^BOOL(BZGFormField *field, NSString *text) { if (text.length < 8) { field.alertView.title = @"Password is too short"; return NO; }...
When I try to load the class in view, I get this error. Unknown class BZGFormField in Interface Builder file. -[UITextField textField]: unrecognized selector sent to instance 0x99b3130 **\* Terminating...