UIViewControllerParentCollection Class Reference

Inherits from NSObject
Declared in UIViewControllerParentCollection.h

Overview

Provides access to parent view controllers of interest.

– initWithViewController:

Initializes the collection with the given view controller.

- (nonnull instancetype)initWithViewController:(nonnull UIViewController *)viewController

Parameters

viewController

The subject view controller to provide parental access for.

Return Value

The initialized collection object.

Declared In

UIViewControllerParentCollection.h

  navigationController

The closest parent navigation controller in the view controller heirarchy, or nil if there none exist.

@property (nonatomic, readonly, nullable) RBNavigationController *navigationController

Declared In

UIViewControllerParentCollection.h

  sidebarContainer

The closest parent sidebar container in the view controller heirarchy, or nil if there none exist.

@property (nonatomic, readonly, nullable) RBSidebarContainerViewController *sidebarContainer

Declared In

UIViewControllerParentCollection.h

  paneContainer

The closest parent pane container in the view controller heirarchy, or nil if there none exist.

@property (nonatomic, readonly, nullable) RBPaneContainerViewController *paneContainer

Declared In

UIViewControllerParentCollection.h