page 336:
in text:
routerRootController will be set to the last view controller on the navigationController. You’ll use this later to dismiss the router by popping to this.
in code:
// 3
public init(navigationController: UINavigationController) {
self.navigationController = navigationController
self.routerRootController =
navigationController.viewControllers.first
super.init()
}
It is mistake in text or code ?
page 349
text:
Thereby, you need to make HomeCoordinator conform to SelectVisitTypeViewControllerDelegate.
code
extension PetAppointmentBuilderCoordinator:
SelectVisitTypeViewControllerDelegate {