👻
Size: a a a
👻
👻
FL
FL
S
К
К
PM
К
A
FL
🏊S
АН
SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Button(action: {print("Text")}) {
Text(
"Button1")
}
Button(action: {Button.Text("Button1")}) {
Text("Button2")
} }
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
}
DA
SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Button(action: {print("Text")}) {
Text(
"Button1")
}
Button(action: {Button.Text("Button1")}) {
Text("Button2")
} }
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
}
A
SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Button(action: {print("Text")}) {
Text(
"Button1")
}
Button(action: {Button.Text("Button1")}) {
Text("Button2")
} }
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
}
Button.Text("Button1")
}A
struct ContentView: View {
@State var LabelButton1 = «Test»
var body: some View {
VStack {
Button(action: {print("Text")}) {
Text(LabelButton1)
}
Button(action: {LabelButton1 = LabelButton1 + «123»}) {
Text("Button2")
} }
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
}