UIView(FormField) Category Reference
Declared in | UIView+FormField.h |
---|
didValidate
Whether or not the field did validate.
@property (nonatomic) BOOL didValidate
Discussion
Whether or not the field did validate.
Declared In
UIView+FormField.h
validationProcessed
Whether or not validation has been performed on the field.
@property (nonatomic) BOOL validationProcessed
Discussion
Whether or not validation has been performed on the field.
Declared In
UIView+FormField.h
controlValue
The current value of the field.
@property (nonatomic, nullable) id controlValue
Discussion
The current value of the field.
Declared In
UIView+FormField.h
controlValueDelegate
The delegate to receive control value update events.
@property (nonatomic, weak, nullable) id<RBFormFieldValueDelegate> controlValueDelegate
Discussion
The delegate to receive control value update events.
Declared In
UIView+FormField.h
– updateFormFieldThemeState
Updates the theme state of the field according to it’s validation status.
- (void)updateFormFieldThemeState
Discussion
Updates the theme state of the field according to it’s validation status.
Declared In
UIView+FormField.h
– setControlValueWithoutInvokingEventsAndDelegates:
Sets the controlValue
property without calling events such as controlValueWillChangeTo:
, controlValueDelegate
…
Useful when setting inital values or programmtically setting values.
- (void)setControlValueWithoutInvokingEventsAndDelegates:(nullable id)controlValue
Parameters
controlValue |
The control value to set. |
---|
Discussion
Sets the controlValue
property without calling events such as controlValueWillChangeTo:
, controlValueDelegate
…
Useful when setting inital values or programmtically setting values.
Declared In
UIView+FormField.h
isFormField
Whether or not this view is a form field.
@property (nonatomic, readonly) BOOL isFormField
Discussion
Whether or not this view is a form field.
Declared In
UIView+FormField.h
formFieldDoesUseInputView
Whether or not the form field uses an input view to edit.
@property (nonatomic, readonly) BOOL formFieldDoesUseInputView
Discussion
Whether or not the form field uses an input view to edit.
Declared In
UIView+FormField.h
– processControlValueBeforeChange:
Called to preprocess the control value before it’s set.
- (nullable id)processControlValueBeforeChange:(nullable id)controlValue
Parameters
controlValue |
The new control value. |
---|
Return Value
The processed new control value.
Discussion
Called to preprocess the control value before it’s set.
Declared In
UIView+FormField.h
– controlValueWillChangeTo:from:
Called when the control value will be updated.
- (void)controlValueWillChangeTo:(nullable id)controlValue from:(nullable id)fromControlValue
Parameters
controlValue |
The new control value being assigned. |
---|---|
fromControlValue |
The previous control value being replaced. |
Discussion
Called when the control value will be updated.
Declared In
UIView+FormField.h
– controlValueDidChangeTo:from:
Called when the control value was updated.
- (void)controlValueDidChangeTo:(nullable id)controlValue from:(nullable id)fromControlValue
Parameters
controlValue |
The new control value being assigned. |
---|---|
fromControlValue |
The previous control value being replaced. |
Discussion
Called when the control value was updated.
Declared In
UIView+FormField.h