Add UpdateCheck and some supporting code

This commit is contained in:
2024-05-31 00:30:47 +02:00
parent 2e77fa0608
commit 9acf308ea6
8 changed files with 473 additions and 33 deletions

View File

@ -0,0 +1,16 @@
//
// Created by Nico Verbruggen on 30/05/2024.
// Copyright © 2024 Nico Verbruggen. All rights reserved.
//
import Foundation
open class Log {
public static func text(_ text: String) {
self.handler(text)
}
public static var handler: (_ text: String) -> Void = { text in
print(text)
}
}