RBTabbedPageContainerViewDelegate Protocol Reference

Conforms to NSObject
Declared in RBTabbedPageContainerView.h

Overview

A delegate to receive tab page selection events.

– tabWillSelectWithIndex:animated:isInitialTab:tabbedPageContainerView:

Called to notify that a tab will be selected.

- (void)tabWillSelectWithIndex:(NSUInteger)index animated:(BOOL)animated isInitialTab:(BOOL)isInitialTab tabbedPageContainerView:(nonnull RBTabbedPageContainerView *)tabbedPageContainerView

Parameters

index

The index of the page that will be selected.

animated

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

isInitialTab

Whether or not the page is the first to be selected.

tabbedPageContainerView

The tabbed page container object.

Discussion

Called to notify that a tab will be selected.

Declared In

RBTabbedPageContainerView.h

– tabDidSelectWithIndex:animated:isInitialTab:tabbedPageContainerView:

Called to notify that a tab was selected.

- (void)tabDidSelectWithIndex:(NSUInteger)index animated:(BOOL)animated isInitialTab:(BOOL)isInitialTab tabbedPageContainerView:(nonnull RBTabbedPageContainerView *)tabbedPageContainerView

Parameters

index

The index of the page that was selected.

animated

Whether or not the transition to the page was animated.

isInitialTab

Whether or not the page was the first to be selected.

tabbedPageContainerView

The tabbed page container object.

Discussion

Called to notify that a tab was selected.

Declared In

RBTabbedPageContainerView.h

– tabWillDeselectWithIndex:animated:tabbedPageContainerView:

Called to notify that a tab will be unselected.

- (void)tabWillDeselectWithIndex:(NSUInteger)index animated:(BOOL)animated tabbedPageContainerView:(nonnull RBTabbedPageContainerView *)tabbedPageContainerView

Parameters

index

The index of the page that will be unselected.

animated

Whether or not the transition will be animated.

tabbedPageContainerView

The tabbed page container object.

Discussion

Called to notify that a tab will be unselected.

Declared In

RBTabbedPageContainerView.h

– tabDidDeselectWithIndex:animated:tabbedPageContainerView:

Called to notify that a tab was unselected.

- (void)tabDidDeselectWithIndex:(NSUInteger)index animated:(BOOL)animated tabbedPageContainerView:(nonnull RBTabbedPageContainerView *)tabbedPageContainerView

Parameters

index

The index of the page that was unselected.

animated

Whether or not the transition was animated.

tabbedPageContainerView

The tabbed page container object.

Discussion

Called to notify that a tab was unselected.

Declared In

RBTabbedPageContainerView.h

– tabButtonWasTappedWithIndex:tabbedPageContainerView:

Called to notify that a tab button was tapped.

- (void)tabButtonWasTappedWithIndex:(NSUInteger)index tabbedPageContainerView:(nonnull RBTabbedPageContainerView *)tabbedPageContainerView

Parameters

index

The tab index that was tapped.

tabbedPageContainerView

The tabbed page container object.

Discussion

Called to notify that a tab button was tapped.

Declared In

RBTabbedPageContainerView.h