我是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