// // BiometricSwitchViewController.swift // GME Remit // // Created by Swift Tech on 20/10/2021. //Copyright © 2021 Gobal Money Express Co. Ltd. All rights reserved. // import UIKit class BiometricSwitchViewController: UIViewController { // MARK: Properties var presenter: BiometricSwitchModuleInterface? // MARK: IBOutlets // MARK: VC's Life cycle override func viewDidLoad() { super.viewDidLoad() self.setup() } // MARK: IBActions // MARK: Other Functions private func setup() { // all setup should be done here } } // MARK: BiometricSwitchViewInterface extension BiometricSwitchViewController: BiometricSwitchViewInterface { func showLoading() { self.showProgressHud() } func hideLoading() { self.hideProgressHud() } func show(error: String) { self.alert(type: .error, message: error) } func show(message: String) { self.alertWithOk( type: .success, message: message, title: "Success", okTitle: "Ok" ) { } } }