表视图中的句柄树格式数组 - 目标c

时间:2016-02-13 04:50:07

标签: ios objective-c iphone uitableview nsmutablearray

我有一个带有树结构数组的Json响应。现在问题是我必须在表视图中显示该数组。数组格式就像 details = { id = 002; name = Rohit; fid = 123; "Friends" = ( { id = 003; name = "Sham"; fid = 2355; "Friends" = ( { id = 252; name = Ram; Fid = 8568; "Friends" = ( { id = 7545; name = "Rahul"; Fid = 874; "Friends" = ( ); }, { id = 77554; name = "LCMff"; pid = 45425; "Friends"= ( ); }, { id = 4545; name = peter; fid = 4548; "Friends"= ( { id = 785612; name = "john"; fid = 45; "Friends" = ( ); } ); },                             },

以上就是例子。现在我必须在表格视图中显示好友列表,点击名称。此外,我必须在标题中显示名称,如面包屑。帮我解决这个问题。

0 个答案:

没有答案