Swift array types are now written with brackets around the element type with mutli dimension arrays
arrays, swift
Solution
Just double the brackets
var tiles: [[SKSpriteNode]] = []
Problem
I am trying to define a multi dimension array of type SKSpriteNode (or any other type) with the following line: ``` var _tiles:SKSpriteNode[][] = [] ``` but I get the Swift warning: "array types are now written with brackets around the element type" With single dimension arrays this can be done like this: ``` var _tiles:[SKSpriteNode] = [] ``` but how does it work with multi-dimensions?