Skip to content

Instantly share code, notes, and snippets.

@swarut
Created October 7, 2012 05:08
Show Gist options
  • Save swarut/3847181 to your computer and use it in GitHub Desktop.
Save swarut/3847181 to your computer and use it in GitHub Desktop.
Objective-C : Using plist via dictionary #objective-c #plist #resource
NSString *bundlePath = [[NSBundle mainBundle] bundlePath];
NSString *resourcePath = [bundlePath stringByAppendingPathComponent:@"resource.plist"];
sharedInstance.objectCompositionDic = [NSDictionary dictionaryWithContentsOfFile:resourcePath];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment