Avatar
omochimetaru 6/4/2019 5:47 AM
ViewBuilderのリファレンス見ると引数10個?までオーバーロードされてるから、variadicじゃ無さそうに見えます
5:49 AM
That’s needed only because (1) SwiftUI wants to propagate sub-view types into the return type to enable some optimizations and (2) Swift doesn’t have variadic generics yet. It’s not a long-term problem, and most other libraries can just use variadic arguments.