RBTabbedPageContainerViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in RBTabbedPageContainerViewController.h

Overview

A delegate to receive tab page selection events.

– tabWillSelectPage:withIdentifier:animated:container:

Called to notify that a tab will be selected.

- (void)tabWillSelectPage:(nonnull UIViewController *)page withIdentifier:(nonnull NSString *)identifier animated:(BOOL)animated container:(nonnull RBTabbedPageContainerViewController *)container

Parameters

page

The view controller.

identifier

The identifier of the page that will be selected.

animated

Whether or not the transition to the page will be animated.

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabWillDeselectPage:withIdentifier:animated:container:

Called to notify that a tab will be deselected.

- (void)tabWillDeselectPage:(nonnull UIViewController *)page withIdentifier:(nonnull NSString *)identifier animated:(BOOL)animated container:(nonnull RBTabbedPageContainerViewController *)container

Parameters

page

The view controller.

identifier

The identifier of the page that will be selected.

animated

Whether or not the transition to the page will be animated.

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabDidSelectPage:withIdentifier:animated:container:

Called to notify that a tab was selected.

- (void)tabDidSelectPage:(nonnull UIViewController *)page withIdentifier:(nonnull NSString *)identifier animated:(BOOL)animated container:(nonnull RBTabbedPageContainerViewController *)container

Parameters

page

The view controller.

identifier

The identifier of the page that will be selected.

animated

Whether or not the transition to the page will be animated.

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabDidDeselectPage:withIdentifier:animated:container:

Called to notify that a tab was deselected.

- (void)tabDidDeselectPage:(nonnull UIViewController *)page withIdentifier:(nonnull NSString *)identifier animated:(BOOL)animated container:(nonnull RBTabbedPageContainerViewController *)container

Parameters

page

The view controller.

identifier

The identifier of the page that will be selected.

animated

Whether or not the transition to the page will be animated.

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabButtonWasTapped:withIdentifier:container:

Called to notify that a tab button was tapped.

- (void)tabButtonWasTapped:(nonnull RBButton *)button withIdentifier:(nonnull NSString *)identifier container:(nonnull RBTabbedPageContainerViewController *)container

Parameters

button

The button that was tapped.

identifier

The identifier of the tab that was tapped.

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabBarWillAppear:

Called to notify that the tab bar will appear.

- (void)tabBarWillAppear:(nonnull RBTabbedPageContainerViewController *)container

Parameters

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabBarWillDisappear:

Called to notify that the tab bar will disappear.

- (void)tabBarWillDisappear:(nonnull RBTabbedPageContainerViewController *)container

Parameters

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabBarDidAppear:

Called to notify that the tab bar did appear.

- (void)tabBarDidAppear:(nonnull RBTabbedPageContainerViewController *)container

Parameters

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h

– tabBarDidDisappear:

Called to notify that the tab bar did disappear.

- (void)tabBarDidDisappear:(nonnull RBTabbedPageContainerViewController *)container

Parameters

container

The tabbed page container object.

Declared In

RBTabbedPageContainerViewController.h