Modern Apps git

xtool.git

Public
git clone https://git.maproj.org/xtool.git
main ▾

xtool.git / Documentation / xtool.docc / First-app-code / edit-2.swift

edit-2.swift13 lines · 272 BRaw
1import SwiftUI
2
3struct ContentView: View {
4 var body: some View {
5 VStack {
6 Image(systemName: "globe")
7 .imageScale(.large)
8 .foregroundStyle(.tint)
9 Text("Hello, world!")
10 }
11 .padding()
12 }
13}