Declared in UIViewController+TKCategory.h
UIViewController+TKCategory.m

Overview

Additional functionality for UIViewController.

Instance Methods

presentNavigationControllerWithRoot:animated:completion:

Present a UINavigationController with a given root view controller.

- (void)presentNavigationControllerWithRoot:(UIViewController *)rootViewControllerToPresent animated:(BOOL)animated completion:(void ( ^ ) ( void ))completion

Parameters

rootViewControllerToPresent

The root view controller for the UINavigationController.

animated

Present the navigation controller with animation.

completion

Completion callback block.

Declared In

UIViewController+TKCategory.h