Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Component Providing A Custom Text Field With A Stylish Built-In Validity Indicator

  •  
  •  
  •  
  •  
  •  

I’ve mentioned some nice libraries for text entry validation such as US2FormValidator that provides a complete solution for iOS form validation, and the PMValidation library that provides a number of helper methods for text validation.

Here’s an interesting custom text field component from Ben Guo called BZGFormField that provides a nice way to indicate users whether their text field entry is valid.

With BZGFormField you simply place your validation code within a block, and an indication appears when the user makes an invalid entry, then when the user presses that indication you can display an alert view explaining why their entry is invalid.

Here’s an image from the readme displaying the indicator (the exclamation mark on the left of a text field), and the alert view that can appear:
BZGFormField

You can find BZGFormField on Github here.

A nice way to indicate to notify the users of an invalid text entry.

Thanks to Tom for the submission.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments