RBFormFieldValueDelegate Protocol Reference

Conforms to NSObject
Declared in UIView+FormField.h

Overview

A delegate of a managed form control, received control value update events.

– controlValueDidChangeTo:from:withField: required method

Called when the current value of a control has changed.

- (void)controlValueDidChangeTo:(nullable id)controlValue from:(nullable id)fromControlValue withField:(nonnull UIView *)field

Parameters

controlValue

The new value of the control.

fromControlValue

The previous value of the control.

field

The control view who’s current value is changing.

Discussion

Called when the current value of a control has changed.

Declared In

UIView+FormField.h

– controlValueWillChangeTo:from:withField: required method

Called when the current value of a control will change.

- (void)controlValueWillChangeTo:(nullable id)controlValue from:(nullable id)fromControlValue withField:(nonnull UIView *)field

Parameters

controlValue

The new value of the control.

fromControlValue

The previous value of the control.

field

The control view who’s current value is changing.

Discussion

Called when the current value of a control will change.

Declared In

UIView+FormField.h