Files
2021-07-07 09:08:50 +00:00

28 lines
647 B
Swift

//
// LaunchScreenModuleBuilder.swift
// PrivadoVPN
//
// Created by Viktor on 09.12.2020.
// Copyright © 2020 Privado LLC. All rights reserved.
//
import Foundation
import UIKit
protocol LaunchScreenModuleOutput {
func noticeAccepted()
}
final class LaunchScreenModuleBuilder {
static func build(output: LaunchScreenModuleOutput) -> UIViewController {
let presenter = LaunchScreenPresenter(output: output)
let controller = DeviceInfoProvider.isIPad
? LaunchScreenControllerIPAD(output: presenter)
: LaunchScreenController(output: presenter)
return controller
}
}