我想要一个的NSMutableDictionary上的NSMutableDictionary比较一个的keyValue分为两个NSMutableArrays,如何将NSMutableDictionary分成两个NSMutableArrays?
例如:我的NSMutableDictionary
[
{
"0": "87",
"1": "13270690451",
"2": "Delhi night's",
"3": "2106",
"4": ":)",
"5": "Kunwar",
"6": "28.601736",
"7": "77.159178",
"8": "16.107459108715",
"timeleft": "87",
"imageurl": "13270690451",
"beep": "Delhi night's",
"beepid": "2106",
"beepdescription": ":)",
"username": "Kunwar",
"Lat": "28.601736",
"long": "77.159178",
"distance": "16.107459108715"
},
{
"0": "87",
"1": "13278710651",
"2": "Delhi IT hub",
"3": "2145",
"4": "LPT certification centre",
"5": "Kunwar",
"6": "28.491764",
"7": "77.082712",
"8": "2005.6281723630008",
"timeleft": "87",
"imageurl": "13278710651",
"beep": "Delhi IT hub",
"beepid": "2145",
"beepdescription": "LPT certification centre",
"username": "Kunwar",
"Lat": "28.491764",
"long": "77.082712",
"distance": "2005.6281723630008"
}
]
我想提出两个独立的mutablearray如果 “距离”: “2005.6281723630008”在字典中小于500添加到可变数组1其他聪明添加到可变数组2
这看起来不像Dictonary。这看起来像一个字典阵列。 – 2012-02-14 15:42:32
有没有什么办法根据我的查询排序这个? – iPhoneDev 2012-02-14 15:45:31