在一本字典中,我有Key &值如下。我如何從下面獲取「標題」值並將其存儲在NSArray *數據中?如何將NSDictionary值存儲到NSArray中?
{
changed = 1414164684;
city = Stockholm;
class = "3. Mycket god klass";
coordinates = "POINT(59.3246206 18.0686084)";
id = 37510;
title = "19 Glas Bar & Matsal";
total = 70;`enter code here`
},
{
changed = 1413991969;
city = "G\U00f6teborg";
class = "2. M\U00e4starklass";
coordinates = "POINT(57.697944330446234 11.974067687988281)";
id = 34865;
title = "28+";
total = 77;
},
你有一個字典數組,你想提取所有字典的標題值並將它們存儲到數組中? – iHulk 2014-10-27 07:28:38
在我看來,讓他們像你一樣需要所有與它相關的其他信息以備後用 – 2014-10-27 07:35:35