how can I read only one value of my dictionary?
Posted
by
Gianfranco Cotumaccio
on Stack Overflow
See other posts from Stack Overflow
or by Gianfranco Cotumaccio
Published on 2013-11-10T15:46:59Z
Indexed on
2013/11/10
15:53 UTC
Read the original article
Hit count: 130
I created my own dictionary by taking the values ??from a json file in the dictionary I have a set of values??, the other can take them and use them, instead of these start with a brace can not seem to get them:
weather = (
{
description = "broken clouds";
icon = 04d;
id = 803;
main = Clouds;
}
);
Use this command to take the values ??in the Dictionary:
NSString *currweather = myDict[@"weather"][@"main"];
The application quits when the launch. How can I fix?
© Stack Overflow or respective owner