Modern Apps git

xtool.git

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

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

edit-4.swift15 lines · 338 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 .bold()
11 .foregroundStyle(.purple)
12 }
13 .padding()
14 }
15}