Why I can not use SetValue for Dictionary?
问题 Hello Everyone I am new in swift and In my app I declare a dictionary like this : var imageDict : Dictionary<String, String> = [:] and I want to set values for that dictionary like this : imageDict.setValue(NSStringFromCGPoint(frame), forKey: NSString.stringWithString("/(tagValue)")); But I got error like this : Dictonary <String, String> does not have a member named 'setValue' This question is from my previous question and can enybody explain my why I can not set value for that dictionar and