UIViewController(JOEAdditions) Category Reference
| Declared in | UIViewController+JOEAdditions.h |
Overview
Category on UIViewController providing numerous methods to make things such as instantiating view controllers from the storyboard easier.
Tasks
Initializing From Storyboard
-
+ joe_initialViewControllerThis method grabs an instance of the initial view controller set in a storyboard.
-
+ joe_viewControllerWithIdentifier:This method grabs an instance of the controller with the passed in identifier set in a storyboard.
Class Methods
joe_initialViewController
This method grabs an instance of the initial view controller set in a storyboard.
+ (instancetype)joe_initialViewControllerReturn Value
Returns an instance of the initial view controller.
Declared In
UIViewController+JOEAdditions.hjoe_viewControllerWithIdentifier:
This method grabs an instance of the controller with the passed in identifier set in a storyboard.
+ (instancetype)joe_viewControllerWithIdentifier:(NSString *)identifierParameters
- identifier
The identifier value set in Interface Builder.
Return Value
Returns an instance of the controller with the passed in identifier.
Declared In
UIViewController+JOEAdditions.h