I\'m trying to wrap my head around initialising empty arrays in Swift.
For an array of strings it\'s pretty straight forward :
var myStringArray: String
This will create an empty, immutable dictionary:
let dictionary = [ : ]
And if you want a mutable one:
var dictionary = [ : ]
Both of these dictionaries default to Dictionary.
Dictionary