Swift Ui View
import SwiftUi
struct MyView: View {
var body: some View {
Text("Hello, World!")
}
}
Fancy Flatworm
import SwiftUi
struct MyView: View {
var body: some View {
Text("Hello, World!")
}
}
// A type that represents part of your app’s user interface
// and provides modifiers that you use to configure views.
struct MyView: View {
var body: some View {
Text("Hello, World!")
}
}