I have a simple Dictionary which is defined like:
var dict : NSDictionary = [ 1 : \"abc\", 2 : \"cde\"]
Now I want to add an element into t
In Swift, if you are using NSDictionary, you can use setValue:
setValue
dict.setValue("value", forKey: "key")