Access data in NSDictionary using Swift

user1382086

enter image description here

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

Fogmeister

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"]

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related