Merge remote-tracking branch 'origin/release/10_8_0' into feature/fastlane_launch_app_build_customization

This commit is contained in:
Kyle Hedden 2023-07-20 16:14:33 -04:00
commit d86462427a
2 changed files with 7 additions and 3 deletions

View File

@ -19,3 +19,9 @@ public extension ActionDelegateProtocol {
try await MVMCoreActionHandler.shared()?.handleAction(with: model, additionalData: additionalData, delegateObject: delegateObject)
}
}
public extension MVMCoreActionDelegateProtocol {
func action(with model: ActionModelProtocol, additionalData: [AnyHashable : Any]?, delegateObject: DelegateObject?) async throws {
try await (self as? ActionDelegateProtocol)?.performAction(with: model, additionalData: additionalData, delegateObject: delegateObject)
}
}

View File

@ -25,9 +25,7 @@
self.session = [[MVMCoreSessionObject alloc] init];
self.cache = [[MVMCoreCache alloc] init];
self.viewControllerMapping = [[MVMCoreViewControllerMappingObject alloc] init];
[MVMCoreDispatchUtility performSyncBlockOnMainThread:^{
self.sessionHandler = [[MVMCoreSessionTimeHandler alloc] init];
}];
self.sessionHandler = [[MVMCoreSessionTimeHandler alloc] init];
self.actionHandler = [[MVMCoreActionHandler alloc] init];
self.loggingDelegate = [[MVMCoreLoggingHandler alloc] init];
self.loadHandler = [[MVMCoreLoadHandler alloc] init];