Chapter 23, Coordinator: Presenting viewController

Code below I copied from chapter 23. The function’s name is present but it is actually pushing. Am I missing a spot with this whole coordinator concept, whichever source I check, authors just ignore present and focus on push

  public func present(_ viewController: UIViewController,
                      animated: Bool,
                      onDismissed: (() -> Void)?) {
    onDismissForViewController[viewController] = onDismissed
                                            animated: animated)

@ilkercam Thanks very much for your question. “push” is used when you’re using a UINavigationController, and “present” is used when you’re not.