It makes more sense to have current UIViewController instead of UINavigationController in Routable, because you always can get navigation controller from it: currentController.navigationController. It also means you can present on top of already presented controller which doesn't have navigation controller.
_Breaking change_
It makes more sense to have current
UIViewController
instead ofUINavigationController
inRoutable
, because you always can get navigation controller from it:currentController.navigationController
. It also means you can present on top of already presented controller which doesn't have navigation controller.