Example (Apple Official):
struct TestView: View {
var body: some View {
HStack( alignment: .top, spacing: 10 ) {
ForEach( 1...5, id: \.self ) {
Text("Item \($0)")
}
}
}
}
Example (Apple Official):
struct TestView: View {
var body: some View {
HStack( alignment: .top, spacing: 10 ) {
ForEach( 1...5, id: \.self ) {
Text("Item \($0)")
}
}
}
}