xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / Documentation / xtool.docc / First-app-code / edit-2.swift
edit-2.swift13 lines · 272 BRaw
| 1 | import SwiftUI |
| 2 | |
| 3 | struct 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 | } |