Files

24 lines
550 B
Swift

//
// UpgradeWarningModuleBuilder.swift
// PrivadoVPN
//
// Created by Zhandos Bolatbekov on 25.02.2021.
// Copyright © 2021 Privado LLC. All rights reserved.
//
import UIKit
protocol UpgradeWarningModuleOutput: AnyObject {
func navigate(to route: Route)
}
final class UpgradeWarningModuleBuilder {
static func build(output: UpgradeWarningModuleOutput?) -> UIView {
let presenter = UpgradeWarningPresenter(output: output)
let view = UpgradeWarningView(output: presenter)
return view
}
}