RBSlidingPageContainerViewControllerDelegate Protocol Reference

Conforms to NSObject
Declared in RBSlidingPageContainerViewController.h

Overview

A delegate to receive tab page selection events for an RBSlidingPageContainerViewController.

– slidingPageViewController:willMoveFromIndex:toIndex:animated:

Called when a page will be moved to.

- (void)slidingPageViewController:(nonnull RBSlidingPageContainerViewController *)slidingPageViewController willMoveFromIndex:(NSUInteger)fromIndex toIndex:(NSUInteger)toIndex animated:(BOOL)animated

Parameters

slidingPageViewController

The RBSlidingPageContainerViewController object.

fromIndex

The index of the page being moved away from.

toIndex

The index of the page being moved to.

animated

Whether or not the transition is animated.

Declared In

RBSlidingPageContainerViewController.h

– slidingPageViewController:didMoveFromIndex:toIndex:animated:

Called when a page was moved to.

- (void)slidingPageViewController:(nonnull RBSlidingPageContainerViewController *)slidingPageViewController didMoveFromIndex:(NSUInteger)fromIndex toIndex:(NSUInteger)toIndex animated:(BOOL)animated

Parameters

slidingPageViewController

The RBSlidingPageContainerViewController object.

fromIndex

The index of the page being moved away from.

toIndex

The index of the page being moved to.

animated

Whether or not the transition is animated.

Declared In

RBSlidingPageContainerViewController.h