-1
我有一個NSDictionary的是,當印刷看起來像這樣的NSDictionary解析HOWTO
(
{
"current_game" = 1;
"fb_id" = 1;
"game_status" = 1;
},
{
"current_game" = 4;
"fb_id" = 2;
"game_status" = 1;
},
{
"current_game" = "";
"fb_id" = 3;
"game_status" = "";
},
{
"current_game" = "";
"fb_id" = 4;
"game_status" = "";\
}
)
當我環像
for (int i=0; i < [responseDict count]; i++) {
}
我怎樣才能訪問fb_id = 1例如?
objectAtIndex:我似乎不存在,也沒有鑰匙。
感謝,
三通
請格式化你的代碼,這很容易。 – miku 2010-09-10 23:39:41
修復了這個問題。用473代表,你應該知道如何格式化你的帖子。 – EboMike 2010-09-10 23:42:52
這看起來更像是一組字典。 – 2010-09-11 00:20:49