From 35fda848c3a8b6bea97f94908eb9902b6996ed14 Mon Sep 17 00:00:00 2001 From: "Khan, Arshad" Date: Fri, 10 Jul 2020 23:18:44 +0530 Subject: [PATCH] updated comments --- MVMCoreUI/Containers/NavigationController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Containers/NavigationController.swift b/MVMCoreUI/Containers/NavigationController.swift index d1d70b13..1f59f114 100644 --- a/MVMCoreUI/Containers/NavigationController.swift +++ b/MVMCoreUI/Containers/NavigationController.swift @@ -111,7 +111,7 @@ import UIKit setNavigationBarUI(navigationController: navigationController, navigationItemModel: barModel, viewController: viewController) } - /// Sets the title of navigation item for the view controller based on model and splitview. + /// Convenience function for setting the navigation title. public static func setNavigationTitle(navigationController: UINavigationController, navigationItemModel: NavigationItemModelProtocol?, viewController: UIViewController) { let delegate = (viewController as? MVMCoreViewControllerProtocol)?.delegateObject?() as? MVMCoreUIDelegateObject if let titleViewModel = navigationItemModel?.titleView, let molecule = MoleculeObjectMapping.shared()?.createMolecule(titleViewModel, delegateObject: delegate, additionalData: nil) {