【发布时间】:2012-10-18 17:41:43
【问题描述】:
我在 plist 中有一些数据。首先我想获取 plist 数据,然后在 UITableview 中显示。 我的plist序列就是这样的
根...........字典
项目 0-9.......数组。
在 ViewDidload 中,我的代码如下所示。
NSString *path = [[NSBundle mainBundle] pathForResource:@"Movies"
ofType:@"plist"];
NSDictionary *dic = [[NSDictionary alloc] initWithContentsOfFile:path];
这让我很困惑,如何将我的 Array 项传递给 UITableview。 谁能帮我提前在 UITableview.Thanx 中显示所有这些数据。
【问题讨论】:
标签: iphone xcode uitableview plist