How do you append to an array thats being used as a value in a dictionary on Swift?
Currently I have got:
var excercises = Dictionary<String, Array<String>>()
excercises["key"]!.append("value")
It doesn't give a syntax error, though:
Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1004bc448)
What I'm trying to ask is, how do you use a dictionary with array to append/remove?