Skip to content

Instantly share code, notes, and snippets.

@hacksoldier
Created November 26, 2013 20:32
Show Gist options
  • Save hacksoldier/7665697 to your computer and use it in GitHub Desktop.
Save hacksoldier/7665697 to your computer and use it in GitHub Desktop.
[PLIST] Read Data From Plist
+ (NSDictionary *)getDictionaryArticoliFromPlistName:(NSString *)plistName {
NSString *path = [[NSBundle mainBundle] pathForResource:plistName ofType:@"plist"];
NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:path];
return dictionary;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment