Inherits from UIViewController
Declared in RMMultipleViewsController.h

Overview

RMMultipleViewsController is an iOS control for showing multiple view controller in one view controller and selecting one with a segmented control. Every RMMultipleViewsController should be pushed into a UINavigationController.

Tasks

Properties

animationStyle

@property (nonatomic, assign) RMMultipleViewsControllerAnimation animationStyle
Discussion

Used to change the animation type when switching from one view controller to another.

Declared In

RMMultipleViewsController.h

navigationStrategy

@property (nonatomic, assign) RMMultipleViewsControllerNavigationStrategy navigationStrategy
Discussion
Used to control whether AAMultiViewController will auto-create, auto-display, and use a segmented control for navigation.

Declared In

RMMultipleViewsController.h

useNavigationBarButtonItemsOfCurrentViewController

@property (nonatomic, assign) BOOL useNavigationBarButtonItemsOfCurrentViewController
Discussion

Used to control whether or not the RMMultipleViewsController will also show the left and right navigation bar button item of the currently shown child view controller.

Declared In

RMMultipleViewsController.h

useToolbarItemsOfCurrentViewController

@property (nonatomic, assign) BOOL useToolbarItemsOfCurrentViewController
Discussion

Used to control whether or not the RMMultipleViewsController will also show the toolbar items of the currently shown child view controller.

Declared In

RMMultipleViewsController.h

viewController

@property (nonatomic, strong) NSArray *viewController
Discussion

Provides access to the child view controllers.

Declared In

RMMultipleViewsController.h

Instance Methods

initWithViewControllers:

- (instancetype)initWithViewControllers:(NSArray *)someViewControllers
Discussion

Used to initialize a new RMMultipleViewsController.

Parameters

someViewControllers

An array of child view controllers.

Return Value

A new RMMultipleViewsController.

Declared In

RMMultipleViewsController.h

showViewController:animated:

- (void)showViewController:(UIViewController *)aViewController animated:(BOOL)animated
Discussion

Call this method if you want to display a certain child view controller.

Parameters

aViewController

The view controller you want to show. This view controller must be an element of the viewController array.

animated

Used to enable or disable animations for this change.

Declared In

RMMultipleViewsController.h