I have a dictionary but I need to query by particular value to get the key. But it seems like swift doesn't have valueforKey function.
Example:
print(myDictionary["key"])
//output: 100
//but I want to get:
print(myDictionary.valueForkey:"100")
//output: key
Any of you knows how can I do this in swift?