updated comments

This commit is contained in:
Khan, Arshad 2020-07-10 23:18:44 +05:30
parent 5410cef8bf
commit 35fda848c3

View File

@ -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) {