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