Raw
1 //
2 // App.swift
3 // tauri-app
4 //
5 // Created by Seto Elkahfi on 2026-03-06.
6 // Copyright © 2026 Onde Inference. All rights reserved.
7 //
8
9 import SwiftUI
10
11 @main
12 struct TauriWatchOSApp: App {
13 var body: some Scene {
14 WindowGroup {
15 ContentView()
16 }
17 }
18 }
19
20 struct ContentView: View {
21 var body: some View {
22 ScrollView {
23 VStack(spacing: 16) {
24 Image(systemName: "applewatch")
25 .font(.system(size: 40))
26 .foregroundColor(.accentColor)
27 Text("tauri-app")
28 .font(.headline)
29 Text("watchOS target — native UI only.")
30 .font(.caption)
31 .foregroundColor(.secondary)
32 .multilineTextAlignment(.center)
33 }
34 .padding()
35 }
36 }
37 }