add to default config
This commit is contained in:
parent
2d27c50b41
commit
e940c9bf08
@ -19,7 +19,12 @@ public class CoreUIObject: NSObject {
|
|||||||
public var topNotificationHandler: NotificationHandler?
|
public var topNotificationHandler: NotificationHandler?
|
||||||
|
|
||||||
public func defaultInitialSetup() {
|
public func defaultInitialSetup() {
|
||||||
|
MVMCoreObject.sharedInstance()?.defaultInitialSetup()
|
||||||
CoreUIModelMapping.registerObjects()
|
CoreUIModelMapping.registerObjects()
|
||||||
|
MVMCoreObject.sharedInstance()?.session = MVMCoreUISession()
|
||||||
|
MVMCoreObject.sharedInstance()?.actionHandler = MVMCoreUIActionHandler()
|
||||||
|
MVMCoreObject.sharedInstance()?.viewControllerMapping = MVMCoreUIViewControllerMappingObject()
|
||||||
|
MVMCoreObject.sharedInstance()?.loggingDelegate = MVMCoreUILoggingHandler()
|
||||||
alertHandler = AlertHandler()
|
alertHandler = AlertHandler()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user