I want to do pushViewController on rootViewController in current sample of NavigationDrawerController https://github.com/CosmicMind/Samples/blob/master/Projects/Programmatic/NavigationDrawerController/NavigationDrawerController/RootViewController.swift
and as well as in TransitionedViewController https://github.com/CosmicMind/Samples/blob/master/Projects/Programmatic/NavigationDrawerController/NavigationDrawerController/TransitionedViewController.swift
Nothing is happening if I call navigationController?.pushViewController(MyController(), animated: true)
If attach NavigationController to rootViewController then center rootViewController will not change on tap of leftViewController
(navigationDrawerController?.rootViewController as? ToolbarController)?.transition(to: TransitionedViewController(), completion: closeNavigationDrawer)
This is because rootViewController doesn't have NavigationController. If I attach AppToolbarController to rootView then navigation will not work and if I attach AppToolbarController to rootViewController then navigationDrawer transition will not work.
Please help!