我正在编写一款iPhone游戏,它与我的硬编码关卡数据配合良好,但我想将关卡数据存储在plist中,并在启动时加载它。我从未使用过plist,并且无法理解如何根据我的数据模型设置plist。这是我现在硬编码的方式:(在我的appDelegate中)-(void)loadLevels{//setupNSNumberobjectstoloadintosequencesNSNumber*rID=[[[NSNumberalloc]initWithInt:0]autorelease];NSNumber*bID=[[[NSNumberalloc]initWithInt:1]autorelease]