I'm working on Swift and I've some problems on multidimensional arrays. In playground, I test this code:
//some class
class Something {
var name:String = ""
}
//i create an array (will store arrays)
var array = [NSArray]()
//create some Something objects
var oneSomething:Something = Something()
var twoSomething:Something = Something()
//fill Something names for sample
oneSomething.name = "N1"
twoSomething.name = "N2"
//create an array of Something's
var array2 = [Something]()
//append the two objets to array2
array2.append(oneSomething)
array2.append(twoSomething)
//append array2 to array N times just for testing
array.append(array2)
array.append(array2)
//on playground I test what I'm storing:
array[0]
array[0][0]
array[0][0].name
And this is the result I'm getting on the last 3 lines:

So, in the first line I access first level of arrays correctly, in the second line I access second line correctly two... but... in the third line I get 'nil' instead name of the Something object. What I'm doing wrong, how can I store and get multidimensional arrays in this example.
Thanks.