I have the follow issue in my code:
class A {
smth1: [[(Int,Int)]] = [[(1,2),(2,3)],
[(3,4),(4,5)]]
var inst = B(smth2: smth1 [1])
}
class B {
init (smth2: [(Int,Int)]){
...}
}
XCode generate error message: Could not find an overload for 'subscript' that accepts the suplied arguments