Skip to content

Instantly share code, notes, and snippets.

@betty-godier
Last active September 13, 2022 10:35
Show Gist options
  • Save betty-godier/b10a8cfff9eab7b3f7786520d9d9699c to your computer and use it in GitHub Desktop.
Save betty-godier/b10a8cfff9eab7b3f7786520d9d9699c to your computer and use it in GitHub Desktop.
New Project SwiftUI
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundColor(.accentColor)
Text("Hello, world!")
}
.padding()
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment