RBManagedFormViewDelegate Protocol Reference

Conforms to NSObject
RBBaseLayoutViewDelegate
Declared in RBManagedFormView.h

Overview

A delegate to receive managed form events from an RBManagedFormView object.

– managedFormViewWasSubmitted:

Called when the form is validated and submitted.

- (void)managedFormViewWasSubmitted:(nonnull RBManagedFormView *)managedFormView

Parameters

managedFormView

The RBManagedFormView object.

Discussion

Called when the form is validated and submitted.

Declared In

RBManagedFormView.h

– managedFormViewWasCancelled:

Called when the form is cancelled.

- (void)managedFormViewWasCancelled:(nonnull RBManagedFormView *)managedFormView

Parameters

managedFormView

The RBManagedFormView object.

Discussion

Called when the form is cancelled.

Declared In

RBManagedFormView.h

– fieldWithIdentifier:willUpdateFromValue:toValue:withManagedFormView:

Called when a field will have it’s value changed.

- (void)fieldWithIdentifier:(nonnull NSString *)identifier willUpdateFromValue:(nullable id)value toValue:(nullable id)newValue withManagedFormView:(nonnull RBManagedFormView *)managedFormView

Parameters

identifier

The identifier of the field.

value

The current value of the field.

newValue

The new value that will be assigned to the field.

managedFormView

The RBManagedFormView object.

Discussion

Called when a field will have it’s value changed.

Declared In

RBManagedFormView.h

– fieldWithIdentifier:didUpdateFromValue:toValue:withManagedFormView:

Called when a field value has changed.

- (void)fieldWithIdentifier:(nonnull NSString *)identifier didUpdateFromValue:(nullable id)previousValue toValue:(nullable id)value withManagedFormView:(nonnull RBManagedFormView *)managedFormView

Parameters

identifier

The identifier of the field.

previousValue

The previous value of the field.

value

The new value of the field.

managedFormView

The RBManagedFormView object.

Discussion

Called when a field value has changed.

Declared In

RBManagedFormView.h

– presentingViewControllerForFormView:

Gets the view controller that should be used when presenting the photo library or camera.

- (nonnull UIViewController *)presentingViewControllerForFormView:(nonnull RBManagedFormView *)managedFormView

Parameters

managedFormView

The RBManagedFormView object.

Return Value

The UIViewController to present with.

Discussion

Gets the view controller that should be used when presenting the photo library or camera.

Declared In

RBManagedFormView.h