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.
20 lines
372 B
20 lines
372 B
|
6 days ago
|
import AppKit
|
||
|
|
import SwiftUI
|
||
|
|
|
||
|
|
final class AppDelegate: NSObject, NSApplicationDelegate {
|
||
|
|
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
|
||
|
|
true
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
@main
|
||
|
|
struct TinyGPUApp: App {
|
||
|
|
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
|
||
|
|
|
||
|
|
var body: some Scene {
|
||
|
|
WindowGroup {
|
||
|
|
TinyGPUView()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|