RBFormAlertViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in RBFormAlertViewController.h

Overview

A delegate to receive form events such as submission and button taps for an RBFormAlertViewController.

– formAlertViewController:didSubmitWithValues: required method

Called when the form is successfully submitted.

- (void)formAlertViewController:(nonnull RBFormAlertViewController *)formAlertViewController didSubmitWithValues:(nonnull NSDictionary *)values

Parameters

formAlertViewController

The RBFormAlertViewController object.

values

The form values that were submitted.

Discussion

Called when the form is successfully submitted.

Declared In

RBFormAlertViewController.h

– formAlertViewControllerDidCancel: required method

Called when the form alert was cancelled.

- (void)formAlertViewControllerDidCancel:(nonnull RBFormAlertViewController *)formAlertViewController

Parameters

formAlertViewController

The RBFormAlertViewController object.

Discussion

Called when the form alert was cancelled.

Declared In

RBFormAlertViewController.h

– formAlertViewController:buttonWasSelectedWithIdentifier: required method

Called when a form alert button was tapped.

- (void)formAlertViewController:(nonnull RBFormAlertViewController *)formAlertViewController buttonWasSelectedWithIdentifier:(nonnull NSString *)identifier

Parameters

formAlertViewController

The RBFormAlertViewController object.

identifier

The identifier of the button that was tapped.

Discussion

Called when a form alert button was tapped.

Declared In

RBFormAlertViewController.h