Create Hello world for macOS (#1)

This commit is contained in:
kornerr committed 2026-10-17 05:55:51 +02:00
1 parent 7597b3abfa
commit 184454cf59
32 files changed
+767

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import SwiftUI
struct RootView: View {
@ObservedObject var vm: RootVM
init(_ vm: RootVM) {
self.vm = vm
}
var body: some View {
VStack(spacing: 16) {
Text("Hello, World!")
.font(.largeTitle)
Text(vm.countText)
.font(.title3.monospacedDigit())
Button("Increment") {
rootSet(F.didClickIncrement, true)
}
}
.padding(40)
}
}