refactored code structure

This commit is contained in:
Micha
2025-11-17 15:42:55 +01:00
parent 22b2c632a9
commit 4efe1a2324
26 changed files with 417 additions and 29 deletions

26
Sources/iKeyMonApp.swift Normal file
View File

@@ -0,0 +1,26 @@
//
// iKeyMonApp.swift
// iKeyMon
//
// Created by tracer on 30.03.25.
//
import SwiftUI
@main
struct iKeyMonApp: App {
var body: some Scene {
WindowGroup {
MainView()
.onDisappear {
NSApp.terminate(nil)
}
}
.windowResizability(.contentMinSize)
Settings {
PreferencesView()
.padding()
}
}
}