|
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 TauriVisionOSApp: App { |
|
13
|
var body: some Scene { |
|
14
|
WindowGroup { |
|
15
|
ContentView() |
|
16
|
} |
|
17
|
} |
|
18
|
} |
|
19
|
|
|
20
|
struct ContentView: View { |
|
21
|
var body: some View { |
|
22
|
VStack(spacing: 24) { |
|
23
|
Image(systemName: "visionpro") |
|
24
|
.font(.system(size: 80)) |
|
25
|
.foregroundColor(.accentColor) |
|
26
|
Text("tauri-app") |
|
27
|
.font(.headline) |
|
28
|
Text("visionOS target placeholder — native UI only.") |
|
29
|
.font(.subheadline) |
|
30
|
.foregroundColor(.secondary) |
|
31
|
.multilineTextAlignment(.center) |
|
32
|
} |
|
33
|
.padding(48) |
|
34
|
} |
|
35
|
} |