Posted By

BenClayton on 09/08/10


Tagged


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

shimdh
umang_nine
rabc
bobbym245
rvachere
sb
gospaz
cnathan


Load a Plist file from the App Bundle


 / Published in: Objective C
 

  1. NSString *path = [[NSBundle mainBundle] pathForResource:@"resourcefile" ofType:@"plist"];
  2. NSDictionary *dict = [[NSDictionary alloc] initWithContentsOfFile:path];
  3.  
  4. // then get stuff out as usual.

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: huoguanghua on September 9, 2010

good!

You need to login to post a comment.