RBNavigationControllerDelegate Protocol Reference

Conforms to NSObject
Declared in RBNavigationController.h

Overview

A delegate that is informed of RBNavigationController events.

– navigationController:willPushViewController:animated:

The navigation controller will push a view controller to the navigation stack.

- (void)navigationController:(nonnull RBNavigationController *)navigationController willPushViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

navigationController

The navigation controller object.

viewController

The view controller that will be pushed to the navigation stack.

animated

Whether or not the operation is animated.

Declared In

RBNavigationController.h

– navigationController:didPushViewController:animated:

The navigation controller did push a view controller to the navigation stack.

- (void)navigationController:(nonnull RBNavigationController *)navigationController didPushViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

navigationController

The navigation controller object.

viewController

The view controller that was pushed to the navigation stack.

animated

Whether or not the operation is animated.

Declared In

RBNavigationController.h

– navigationController:willPopViewControllers:toViewController:animated:

The navigation controller will pop a view controller from the navigation stack.

- (void)navigationController:(nonnull RBNavigationController *)navigationController willPopViewControllers:(nonnull NSArray *)viewControllers toViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

navigationController

The navigation controller object.

viewControllers

An array of the view controllers that will be popped from the navigation stack.

viewController

The view controller that will be revealed when the operation is complete.

animated

Whether or not the operation is animated.

Declared In

RBNavigationController.h

– navigationController:didPopViewControllers:toViewController:animated:

The navigation controller did pop a view controller from the navigation stack.

- (void)navigationController:(nonnull RBNavigationController *)navigationController didPopViewControllers:(nonnull NSArray *)viewControllers toViewController:(nonnull UIViewController *)viewController animated:(BOOL)animated

Parameters

navigationController

The navigation controller object.

viewControllers

An array of the view controllers that were popped from the navigation stack.

viewController

The view controller that was revealed when the operation finished.

animated

Whether or not the operation is animated.

Declared In

RBNavigationController.h