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_initialViewController
This 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_initialViewController
Return Value
Returns an instance of the initial view controller.
Declared In
UIViewController+JOEAdditions.h
joe_viewControllerWithIdentifier:
This method grabs an instance of the controller with the passed in identifier set in a storyboard.
+ (instancetype)joe_viewControllerWithIdentifier:(NSString *)identifier
Parameters
- 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