Created
June 4, 2018 02:41
-
-
Save zhangkn/9afc150da979bac57a8aa76861f82f3c to your computer and use it in GitHub Desktop.
接下来通过代码来解析Plist文件中的数据
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSArray *)images | |
{ | |
if (_images == nil) { | |
NSBundle *bundle = [NSBundle mainBundle]; | |
NSString *path = [bundle pathForResource:@"imageData" ofType:@"plist"]; | |
_images = [NSArray arrayWithContentsOfFile:path]; | |
} | |
return _images; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment