我是Xcode的新手。我想要的是在我的程序中读取plist数据。我得到了 NSArrayM insertObject:atIndex:]: object cannot be nil
错误。这是我声明的和我的plist文件。感谢xcode NSArrayM insertObject:atIndex:]:object can not be nil
NSMutableArray *phoneArray;
NSString *path=[[NSBundle mainBundle] pathForResource:@"PhoneList" ofType:@"plist"];
phoneArray= [[NSMutableArray alloc]initWithContentsOfFile:path];
密钥类型 项0字典 第1个字典
物品有描述,名称键作为String类型。
youritems之一的plist是零... – 2012-04-15 12:16:14