Arrays are useful for storing ordered sets of data. An array in Swift stores values of the same type in an ordered list.
The same value can appear more than once in an array, each at different positions.
Create an empty array of Integers (note the square brackets)
var someInts = [Int]()
Or an array of strings:
var someStrs = [String]()
Now if we want to add a value to these arrays, it’s easy peasy!
someInts += 
someStrs += ["Grant"]
Of course we don’t have to always add values like this. We can pop them in at the start:
var someInts: [Int] = [3,5,6,7]
var someStrs: [String] = ["me", "you", "us"]
How about counting numbers of elements in an array?
How about getting elements themselves?
And if we access an element that doesn’t exist?
//CRASH HAPPENS HERE!
That’s arrays in a nutshell. There are tons more functions but once you know the basic structure the rest is easy!