Load a Plist file from the App Bundle


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  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

You need to login to post a comment.