Skip to content

Instantly share code, notes, and snippets.

@nolim1t
Created May 19, 2009 14:14
Show Gist options
  • Save nolim1t/114115 to your computer and use it in GitHub Desktop.
Save nolim1t/114115 to your computer and use it in GitHub Desktop.
-(NSDictionary *)readDatafile:(NSString *)plistfile {
NSLog(@"Reading PLIST file %@", plistfile);
return [[NSDictionary alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForResource:plistfile ofType:@"plist"]];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment