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

ViewControllerNavigatior

Build Status
Swift
Cocoapods
Carthage compatible

Allows you to pop in any view controller stack on iOS. For example, when tab, navigation, modal, and page are stacked together, it can pops up a class or instance of a specific view controller.

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 '<Your Target Name>' 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.5.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.5.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