M
Size: a a a
M
M
SwiftUI
import PlaygroundSupport
struct MainView: View {
var body: some View {
VStack {
Text("Hello, World!")
Button(action: { }) {
Text("Button!")
}.background(Rectangle().strokeBorder())
}
}
}
// Present the view controller in the Live View window
PlaygroundPage.current.liveView = UIHostingController(rootView: MainView())A
M
AP
SwiftUI
import PlaygroundSupport
struct MainView: View {
var body: some View {
VStack {
Text("Hello, World!")
Button(action: { }) {
Text("Button!")
}.background(Rectangle().strokeBorder())
}
}
}
// Present the view controller in the Live View window
PlaygroundPage.current.liveView = UIHostingController(rootView: MainView())AP
M
A
A
NL
NL
M
VK
NL
NL
VK
VK
AL
NL
VK