diff --git a/MVMCore/MVMCore.xcodeproj/project.pbxproj b/MVMCore/MVMCore.xcodeproj/project.pbxproj index 09c65e5..394e10b 100644 --- a/MVMCore/MVMCore.xcodeproj/project.pbxproj +++ b/MVMCore/MVMCore.xcodeproj/project.pbxproj @@ -765,9 +765,9 @@ isa = PBXNativeTarget; buildConfigurationList = 8876D5D11FB50A9E00EB2E3D /* Build configuration list for PBXNativeTarget "MVMCore" */; buildPhases = ( + 8876D5C61FB50A9E00EB2E3D /* Headers */, 8876D5C41FB50A9E00EB2E3D /* Sources */, 8876D5C51FB50A9E00EB2E3D /* Frameworks */, - 8876D5C61FB50A9E00EB2E3D /* Headers */, 8876D5C71FB50A9E00EB2E3D /* Resources */, ); buildRules = ( diff --git a/MVMCore/MVMCore/ActionHandling/OpenURLOptionsModel.swift b/MVMCore/MVMCore/ActionHandling/OpenURLOptionsModel.swift index 045aa52..09911c8 100644 --- a/MVMCore/MVMCore/ActionHandling/OpenURLOptionsModel.swift +++ b/MVMCore/MVMCore/ActionHandling/OpenURLOptionsModel.swift @@ -12,6 +12,13 @@ import Foundation open class OpenUrlOptionsModel: Codable { public var options: [UIApplication.OpenExternalURLOptionsKey: Any] + //-------------------------------------------------- + // MARK: - Initializer + //-------------------------------------------------- + public init(options: [UIApplication.OpenExternalURLOptionsKey: Any] = [:]) { + self.options = options + } + //-------------------------------------------------- // MARK: - Codable //-------------------------------------------------- diff --git a/MVMCore/MVMCore/Models/ActionType/Client Parameters/ClientParameterModel.swift b/MVMCore/MVMCore/Models/ActionType/Client Parameters/ClientParameterModel.swift index 37940d7..9e63c27 100644 --- a/MVMCore/MVMCore/Models/ActionType/Client Parameters/ClientParameterModel.swift +++ b/MVMCore/MVMCore/Models/ActionType/Client Parameters/ClientParameterModel.swift @@ -16,6 +16,11 @@ public class ClientParameterModel: Codable { case timeout case list } + + public init(list: [ClientParameterModelProtocol], timeout: Double? = nil) { + self.timeout = timeout + self.list = list + } required public init(from decoder: Decoder) throws { let typeContainer = try decoder.container(keyedBy: CodingKeys.self)