Swift: An array of string

This entry is part 6 of 41 in the series Swift

Defining an array of string in Swift and output the array.

import UIKit


var someArray: [String] = ["Alex", "Brian", "Dave"]

print(someArray[0])
print(someArray[1])

swift