The CBTextField class is a drop in replacement of the UITextField class, with the added ability to validate user input.