main
swift 19 lines 408 Bytes
Raw
1 import SwiftUI
2
3 struct ContentView: View {
4 var body: some View {
5 VStack {
6 Image(systemName: "globe")
7 .imageScale(.large)
8 .foregroundColor(.accentColor)
9 Text("iOS application in SwiftUI!")
10 }
11 .padding()
12 }
13 }
14
15 struct ContentView_Previews: PreviewProvider {
16 static var previews: some View {
17 ContentView()
18 }
19 }