我有NSMutableArray
如下如何從NSMutableArray中取數據取決於其內的內容?
我如何只提取那些有experience_id=1
或更新這些數據的數據?
有沒有其他方式沒有循環?
(
{
"exp_achievements" = "get certificate for best employee";
"exp_achive_id" = 1;
"experience_id" = 1;
},
{
"exp_achievements" = "get certificate for best employee test";
"exp_achive_id" = 3;
"experience_id" = 1;
},
{
"exp_achievements" = test2;
"exp_achive_id" = 5;
"experience_id" = 3;
}
)
告訴我,你怎麼能訪問整個陣列在一次 – Hiren 2012-02-16 07:29:30
我有一次所有的數據,然後想要過濾的數據,如爲perticular exprience_id – Heena 2012-02-16 07:33:24
@Roshni是這個一個json字符串? – rakeshNS 2012-02-16 07:36:00