From 061ad36a8b89dab1b303ea9a318f365e75928e13 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 16 Apr 2023 16:36:28 +0200 Subject: [PATCH] Improved some documentation in the ModalNavigationRouter and the PushNavigationRouter routers. --- .../Platform/iOS/Routers/ModalNavigationRouter.swift | 1 + .../Coordinator/Platform/iOS/Routers/PushNavigationRouter.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Coordinator/Platform/iOS/Routers/ModalNavigationRouter.swift b/Sources/Coordinator/Platform/iOS/Routers/ModalNavigationRouter.swift index ed7e070..286167c 100644 --- a/Sources/Coordinator/Platform/iOS/Routers/ModalNavigationRouter.swift +++ b/Sources/Coordinator/Platform/iOS/Routers/ModalNavigationRouter.swift @@ -8,6 +8,7 @@ import UIKit +/// This class is responsible for showing view controllers modally, as it is a concrete implementation of the `Router` protocol. public class ModalNavigationRouter: BaseNavigationRouter { // MARK: Properties diff --git a/Sources/Coordinator/Platform/iOS/Routers/PushNavigationRouter.swift b/Sources/Coordinator/Platform/iOS/Routers/PushNavigationRouter.swift index c152309..ab2bc6e 100644 --- a/Sources/Coordinator/Platform/iOS/Routers/PushNavigationRouter.swift +++ b/Sources/Coordinator/Platform/iOS/Routers/PushNavigationRouter.swift @@ -8,7 +8,7 @@ import UIKit -/// This class is responsible for presenting view controllers, as it is a concrete implementation of the `Router` protocol, but it won't know what view controller or which view controller is next. +/// This class is responsible for pushing view controllers into a navigation controller, as it is a concrete implementation of the `Router` protocol. public class PushNavigationRouter: BaseNavigationRouter { // MARK: Properties