I try to do smth like this:
let myArray: [[MyClass]] = [5,5]
where [5,5] is size of array. I can\'t do this.
For two dimensional array with different dimension of each component (not square matrix) you may write
var arr2D: [[Int]] = [Array(repeating: 1, count:2), Array(repeating: 2, count:3)]