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
You need to give types to the dictionaries:
var myNewDictArray: [Dictionary] = []
or
var myNewDictArray = [Dictionary]()
Edit: You can also use the shorter syntax:
var myNewDictArray: [[String:Int]] = []
var myNewDictArray = [[String:Int]]()