So I am trying to store some info in my NSDictionary
and I need to store a CGPoint
value. I am trying something like this:
var dict = ["name" : "john", "age" : 20, "coords": (5, 10)]
Doesn't work unfortunately. How do I store it (so I can call it dict["coords"]
)?