SquareView is called here (posted in answer as well in case it's more readable):
struct BoardView: View {
var body: some View {
VStack(alignment: .center, spacing: 0) {
ForEach(SizeRange.reversed(), id: \.self) { row in
HStack(spacing: 0) {
ForEach(SizeRange, id: \.self) { column in
SquareView(column: column, row: row)
}
}
}
}
}
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: