将plist文件读取成为数组

    NSString *plistPath = [[NSBundle mainBundle] pathForResource:@"city" ofType:@"plist"];

          self.cityArr = [[NSMutableArray alloc] initWithContentsOfFile:plistPath];

posted @ 2016-10-24 17:34  阳光普照大地  阅读(936)  评论(0编辑  收藏  举报