How do I initialize an Array in swift with a specific capacity?
I\'ve tried:
var grid = Array () grid.reserveCapacity(16)
Try:
var grid = Array(count: 16, repeatedValue: aSquare)