MMTextFieldValidator Class Reference
| Inherits from | NSObject |
| Conforms to | MMValidatorProtocol |
| Declared in | MMTextFieldValidator.h MMTextFieldValidator.m |
Tasks
Other Methods
-
textFieldproperty -
errorMessageproperty -
– initWithTextField:withValidationMessage:
Other Methods
Properties
Instance Methods
getErrorMessage
- Retrieves any error message that is contained within the
- (NSString *)getErrorMessageDiscussion
- validator object.
Declared In
MMValidatorProtocol.hinitWithTextField:withValidationMessage:
- A constructor that initializes a validator object with a text field and a validation
- (id)initWithTextField:(UITextField *)textField withValidationMessage:(NSString *)errorMessageDiscussion
- message.
*
@param textField The text field to be validated.
@param errorMessage The validation message to be shown if validation fails.
Declared In
MMTextFieldValidator.h