diff --git a/XCoordinator-Example/Coordinators/AboutCoordinator.swift b/XCoordinator-Example/Coordinators/AboutCoordinator.swift index 2a39280..1717e9e 100644 --- a/XCoordinator-Example/Coordinators/AboutCoordinator.swift +++ b/XCoordinator-Example/Coordinators/AboutCoordinator.swift @@ -15,6 +15,12 @@ enum AboutRoute: Route { } class AboutCoordinator: NavigationCoordinator { + + // MARK: Computed properties + + override var viewController: UIViewController! { + rootViewController.viewControllers.first { $0 is AboutViewController } + } // MARK: Initialization