add to default config

This commit is contained in:
Scott Pfeil 2023-10-04 17:20:54 -04:00
parent 2d27c50b41
commit e940c9bf08

View File

@ -19,7 +19,12 @@ public class CoreUIObject: NSObject {
public var topNotificationHandler: NotificationHandler?
public func defaultInitialSetup() {
MVMCoreObject.sharedInstance()?.defaultInitialSetup()
CoreUIModelMapping.registerObjects()
MVMCoreObject.sharedInstance()?.session = MVMCoreUISession()
MVMCoreObject.sharedInstance()?.actionHandler = MVMCoreUIActionHandler()
MVMCoreObject.sharedInstance()?.viewControllerMapping = MVMCoreUIViewControllerMappingObject()
MVMCoreObject.sharedInstance()?.loggingDelegate = MVMCoreUILoggingHandler()
alertHandler = AlertHandler()
}
}