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.

Discussion

Initializes the collection with the given view controller.

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

Discussion

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

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

Discussion

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

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

Discussion

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

Declared In

UIViewControllerParentCollection.h