24 lines
532 B
Swift
24 lines
532 B
Swift
//
|
|
// ModalControllerProtocols.swift
|
|
// PrivadoVPN
|
|
//
|
|
// Created by Zhandos Bolatbekov on 23.09.2021.
|
|
// Copyright © 2021 Privado LLC. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
protocol ModalControllerInput: AnyObject {
|
|
var modalIsVisible: Bool { get }
|
|
|
|
func modalUpdate(closable: Bool, imageName: String?, title: String?, description: String?, action: String?)
|
|
func modalHide()
|
|
func modalLoader(show: Bool)
|
|
}
|
|
|
|
|
|
protocol ModalControllerOutput: AnyObject {
|
|
func didTapClose()
|
|
func didTapAction()
|
|
}
|