Access data in NSDictionary using Swift

ios, nsdictionary, swift

Solution

You would be better pasting the console log as it's easier to understand.

But you should be able to do...

var results = //your dictionary

let gross = results["data"]["gross"]

Problem

What's the syntax in Swift to access value of `gross` element?

Original source