updated comments
This commit is contained in:
parent
5410cef8bf
commit
35fda848c3
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user