How can I easily add elements to an array inside a dictionary? It\'s always complaining with could not find member \'append\' or could not find an overloa
could not find member \'append\'
could not find an overloa
Use 'for in', for getting values from dictionary's inside array. Here's an example to help you
var a = ["x":["a","b","c"], "y":["d"]] for b in a { print(b) }
Output:
("x", ["d"]) ("y", ["a", "b", "c"])