标签:
加载plist文件
1 @property (nonatomic) NSArray *list;
2
3
4 - (NSArray *)list{
5 if (_list==nil) {
6 NSString *path=[[NSBundle mainBundle] pathForResource:@"imagelist" ofType:@"plist"];
7 _list=[NSArray arrayWithContentsOfFile:path];
8 }
9 return _list;
10 }
标签:
原文地址:http://www.cnblogs.com/pizipapabang/p/4530611.html