Declared in UITextField+VisualHelpers.h

Overview

UITextField (VisualHelpers) is a helper category that provided methods to handle showing and hiding error messaging.

Tasks

Error messaging helper properties.

Error handling methods.

Properties

errorMessage

The NSString object that will be displayed as an error message on the UITextField instance.

@property (nonatomic, retain) NSString *errorMessage

Declared In

UITextField+VisualHelpers.h

Instance Methods

hideErrorBorder

Hides the error border (if any) of the UITextField instance.

- (void)hideErrorBorder

Declared In

UITextField+VisualHelpers.h

showErrorBorder

Shows a [[UIColor redColor] colorWithAlphaComponent:0.7f] border around the UITextField instance.

- (void)showErrorBorder

Declared In

UITextField+VisualHelpers.h

showErrorMessage

Shows the errorMessage associated to the UITextField instance on the top half part of it.

- (void)showErrorMessage

Declared In

UITextField+VisualHelpers.h