You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.1 KiB
58 lines
1.1 KiB
//
|
|
// 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"
|
|
) {
|
|
}
|
|
}
|
|
}
|