RBToolbarViewDelegate Protocol Reference

Conforms to NSObject
Declared in RBToolbarView.h

Overview

A delegate to receive button selection events for a RBToolbarView object.

– toolbarView:buttonWasTappedWithIdentifier:

Called when a toolbar button was tapped.

- (void)toolbarView:(nonnull RBToolbarView *)toolbarView buttonWasTappedWithIdentifier:(nonnull NSString *)buttonIdentifier

Parameters

toolbarView

The RBToolbarView object.

buttonIdentifier

The identifier of the button.

Declared In

RBToolbarView.h

– toolbarView:toggleButtonWithIdentifier:selectionDidChangeTo:

Called when a toolbar toggle button was tapped.

- (void)toolbarView:(nonnull RBToolbarView *)toolbarView toggleButtonWithIdentifier:(nonnull NSString *)toggleButtonIdentifier selectionDidChangeTo:(BOOL)selected

Parameters

toolbarView

The RBToolbarView object.

toggleButtonIdentifier

The identifier of the toggle button.

selected

Whether or not the toggle button was selected (YES) or unselected (NO).

Declared In

RBToolbarView.h