Latest 0.0.1
Homepage https://github.com/belkevich/uiviewcontroller-controller
License MIT
Platforms ios 5.0, requires ARC
Authors

About

Small but useful category on UIViewController that allows you to instantiate controller and navigation controller.


Using

Instantiate controller

SimpleViewController *controller = [SimpleViewController controller];

Instantiate controller with Nib name. It’s can be useful when controller uses XIB of base controller

EnhancedViewController *controller = [EnhancedViewController controllerWithNibName:@"SimpleViewController"];

Instantiate navigation controller with provided controller as root

UINavigationController *controller = [SimpleViewController navigationController];

Installation

Add UIViewController+Controller pod to your Podfile


News and updates

@okolodev

Latest podspec

{
    "name": "UIViewController+Controller",
    "version": "0.0.1",
    "summary": "Small but useful category on UIViewController that allows you to instantiate controller and navigation controller.",
    "homepage": "https://github.com/belkevich/uiviewcontroller-controller",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Alexey Belkevich": "[email protected]"
    },
    "source": {
        "git": "https://github.com/belkevich/uiviewcontroller-controller.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "5.0"
    },
    "source_files": "*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This