RBPaneContainerViewController Class Reference

Inherits from UIViewController
Declared in RBPaneContainerViewController.h

Overview

Manages a stack of horizontally-scrollable panes.

  panes

An array of RBPaneViewController objects.

@property (nonatomic, readonly, nullable) NSArray<RBPaneViewController*> *panes

Declared In

RBPaneContainerViewController.h

– pushPane:animated:completion:

Pushes a new pane to the container.

- (void)pushPane:(nonnull RBPaneViewController *)paneViewController animated:(BOOL)animated completion:(nullable dispatch_block_t)completion

Parameters

paneViewController

The pane view controller to push.

animated

Whether the push should be animated.

completion

An optional block to be called when the operation is complete.

Declared In

RBPaneContainerViewController.h

– popPaneWithAnimation:completion:

Pops the top pane view controller from the container.

- (void)popPaneWithAnimation:(BOOL)animated completion:(nullable dispatch_block_t)completion

Parameters

animated

Whether or not the operation should be animated.

completion

An optional block to be called when the operation is complete.

Declared In

RBPaneContainerViewController.h

– popToPane:animated:completion:

Pops all panes above the specified pane in the stack, such that the given pane is at the top after the operation is complete.

- (void)popToPane:(nonnull RBPaneViewController *)paneViewController animated:(BOOL)animated completion:(nullable dispatch_block_t)completion

Parameters

paneViewController

The pane to pop to.

animated

Whether or not the operation should be animated.

completion

An optional block to be called when the operation is complete.

Declared In

RBPaneContainerViewController.h

– revealPane:animated:completion:

Scrolls to reveal the specified pane.

- (void)revealPane:(nonnull RBPaneViewController *)paneViewController animated:(BOOL)animated completion:(nullable dispatch_block_t)completion

Parameters

paneViewController

The pane to reveal.

animated

Whether or not the operation should be animated.

completion

An optional block to be called when the operation is complete.

Declared In

RBPaneContainerViewController.h