Index

UIViewControllerParentCollection.h

Classes


UIViewControllerParentCollection

Provides access to parent view controllers of interest.

Properties

The closest parent navigation controller in the view controller heirarchy, or nil if none exists.
public navigationController RBNavigationController? { get }

The closest parent sidebar container in the view controller heirarchy, or nil if none exists.
public sidebarContainer RBSidebarContainerViewController? { get }

The closest parent pane container in the view controller heirarchy, or nil if none exists.
public paneContainer RBPaneContainerViewController? { get }

The closest parent tab controller in the view controller heirarchy, or nil if none exists.
public tabController RBTabController? { get }

Functions

Initializes the collection with the given view controller.
@param viewController : The subject view controller to provide parental access for.
@returns The initialized collection object.
- (nonnull instancetype)initWithViewController:(nonnull UIViewController *)viewController;