Table - unable to use more than 10 columns

I've been trying to use the Table function as described in the session. When I try expanding the table beyond 10 columns the compiler hangs with the issue "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions." I've tried this in both the code provided in the session by replicating some of the given columns, and in other projects of my own. In all cases at adding the 11th column the same message is given.

Does anyone know if there is a limit to the column count? Or if a workaround exists?

Which version of Xcode do you use ?

Could you post the complete working (and crashing) code so that we can try to reproduce ?

May be a workaround (not very convenient) would be to create 2 Table ? In any case, that may be worth a bug report.

Note: your tags are confusing. Is it UIKit or SwiftUI (which is what I suppose). Not at all the same analysis.

I would suspect it has to do with the same limitation all of SwiftUI suffers: You can only declare 10 subviews inside of a view. The usual workaround is to use Group{} like this:

HStack{
    Group{
        Item1
        Item2
        ...
        Item10
    }
    Group{
        Item11
        ...
        Item 20
    }
}
Table - unable to use more than 10 columns
 
 
Q