NSBundle *bundle = [NSBundle mainBundle];
// 利用mainBundle获得plist文件在主资源包中的全路径
NSString *file = [bundle pathForResource:@"shops" ofType:@"plist"];
// 凡是参数名为File,传递的都是文件的全路径
self.shops = [NSArray arrayWithContentsOfFile:file];
NSBundle *bundle = [NSBundle mainBundle];
// 利用mainBundle获得plist文件在主资源包中的全路径
NSString *file = [bundle pathForResource:@"shops" ofType:@"plist"];
// 凡是参数名为File,传递的都是文件的全路径
self.shops = [NSArray arrayWithContentsOfFile:file];