Latest 0.2.0
Homepage https://github.com/k-lpmg/ViewControllerNavigator
License MIT
Platforms ios 8.0
Authors

ViewControllerNavigatior

Cocoapods
Carthage compatible
Swift
GitHub license

Moves to a specific ViewController in any iOS ViewStack situation.

Introduction

Modally

modally

Navigating

navigating

Page

page

TabBar

tabbar

Usage

move to RootViewController

ViewControllerNavigator.moveRootViewController()

move to Specific ViewController

ViewControllerNavigator.move(TabBarController())

move to Specific ViewController Class

ViewControllerNavigator.move(TabBarController.self)

with Completion

ViewControllerNavigator.move(TabBarController.self) { (tabBarController) in
    tabBarController.selectedIndex = 2
}

Installation

CocoaPods (iOS 8+)

platform :ios, '8.0'
use_frameworks!

target 'MyApp' do
    pod 'ViewControllerNavigator'
end

Carthage (iOS 8+)

github "k-lpmg/ViewControllerNavigator"

LICENSE

These works are available under the MIT license. See the LICENSE file
for more info.

Latest podspec

{
    "name": "ViewControllerNavigator",
    "version": "0.2.0",
    "summary": "Moves to a specific ViewController in any iOS ViewStack situation",
    "homepage": "https://github.com/k-lpmg/ViewControllerNavigator",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "DongHee Kang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/k-lpmg/ViewControllerNavigator.git",
        "tag": "0.2.0"
    },
    "documentation_url": "https://github.com/k-lpmg/ViewControllerNavigator/blob/master/README.md",
    "ios": {
        "source_files": "Sources/**/*.swift"
    },
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This