Hello Swift community,
When I used multidimensional array in swift, I found it is very low efficiency. I used in the following way : * var array = Array.init(repeating: Array.init(repeating: 0, count: 5), count: 5)* * array[0][0] = 0* I have read some posts in stack overflow. It suggests using one dimension to fake multidimensional array. I think it is too ugly. DO we have better choice for this ? *best wishes for you *
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution