I've just started learning Swift and been messing around with arrays. I can't seem to find a way to create an array type. All examples I've seen declare an array variable that's empty or has been initialised. Can I create a one dimensional array type of say 9 integers, then declare 4 variables of this initialised differently? When I was trying to do a 2d array I thought I could create an array of arrays (I've since learnt the correct syntax, but still).
Could I create a 3d array with the first 2 dimensions being static to create a 5x5 grid and then a dynamic array for the 3rd dimension?
I've used C, C++, C# etc previous to this so used to defining my own types.
Thanks,
Graham