Slide 21
Slide 21 text
Result Builders get buildPartialBlock
func buildBlock(_ c0: C0, _ c1: C1)
-+ TupleView<(C0, C1)> where C0: View, C1: View
func buildBlock(_ c0: C0, _ c1: C1, _ c2: C2)
-+ TupleView<(C0, C1, C2)> where C0: View, C1: View, C2: View
func buildBlock(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3)
-+ TupleView<(C0, C1, C2, C3)> where C0: View, C1: View, C2: View, C3: View
VStack {
Text("1")
Text("2")
Text("3")
Text("4")
}
Arity is limited to the number of generic overloads
5.6