From 00de5657477647b7cdeb374c8b28cda860a3980e Mon Sep 17 00:00:00 2001 From: Fernando Olivares Date: Thu, 16 Nov 2023 11:22:57 -0600 Subject: [PATCH] Add a comment on VisitProposalExtension --- Source/Turbo Navigator/Extensions/VisitProposalExtension.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Turbo Navigator/Extensions/VisitProposalExtension.swift b/Source/Turbo Navigator/Extensions/VisitProposalExtension.swift index 7d60527..cccdb2f 100644 --- a/Source/Turbo Navigator/Extensions/VisitProposalExtension.swift +++ b/Source/Turbo Navigator/Extensions/VisitProposalExtension.swift @@ -35,6 +35,8 @@ public extension VisitProposal { /// A VisitProposal to `https://example.com/recipes/` will have `proposal.viewController == "recipes"` /// /// A default value is provided in case the view controller property is missing from the configuration file. This will route the default `VisitableViewController`. + /// + /// For convenience, conform `ViewController`s to `PathConfigurationIdentifiable` to couple the identifier with a view controller. var viewController: String { if let viewController = properties["view-controller"] as? String { return viewController