i have nsdictionary made of daily trend twitter (made of json). there problem blocking way. before can data, need firstly through first key named @"trends". fine , works perfectly. trend itself, need through few dates. know how can trend data without knowing dates.
at moment hierachy of nsdictionary is:
dictionary -> key:@"trends" -> lots of keys named dates, i.e: 2011-04-30 02:32:34 (this stuck) -> trend data (what need get).
nsdictionary *trends = [yourresultfromparsingjson objectforkey:@"trends"]; [trends enumeratekeysandobjectsusingblock:^(nsstring *trenddate, id trenddata, bool *stop) { // whatever want trenddata }];
Comments
Post a Comment