by tcldr · 2y ago · 0 comments
VStack {
ViewA()
ViewB()
...
ViewJ()
ViewK() // ERROR: A VStack is limited to 10 elements
}
The only way this could be implemented previously was with a separate init for each possible element count. A lot of auto-generated code.This eliminates that. So even if you're not implementing it yourself, you're getting the benefits.