Created
May 9, 2013 07:18
-
-
Save myaaaaa-chan/5546063 to your computer and use it in GitHub Desktop.
xcode4で作ったplistのArrayを読み込む ref: http://qiita.com/items/7f35e47133ceab36dcdc
This file contains hidden or 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
| NSString *path = [[NSBundle mainBundle] pathForResource:@"config" ofType:@"plist"]; | |
| NSDictionary *propDictionary = [NSDictionary dictionaryWithContentsOfFile:path]; | |
| NSArray *array = [NSArray arrayWithArray:[propDictionary objectForKey:@"key"]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment