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.
ViewControllerNavigator.moveRootViewController()
ViewControllerNavigator.move(TabBarController())
ViewControllerNavigator.move(TabBarController.self)
ViewControllerNavigator.move(TabBarController.self) { (tabBarController) in
tabBarController.selectedIndex = 2
}
platform :ios, '8.0'
use_frameworks!
target '<Your Target Name>' do
pod 'ViewControllerNavigator'
end
github "k-lpmg/ViewControllerNavigator"
These works are available under the MIT license. See the LICENSE file for more info.