I created a dictionary and it already has several values, however, I now want to add more. And I know that I can add key-value pairs like this:
var Dict = [Int: String] ()
Dict = [1: "one", 0: "zero"]
Dict[2] = "two"
Dict[3] = "tres"
But I was wondering how to add a lot of pairs at the same time, because if they are too many and it would be a really long process to do it like that.
I know this can be done in an Array like this:
Array += [1, 2, 3, 4, 5, 6]
But don't know if the same can be done for dictionaries.