Posted By

oppey on 05/23/11


Tagged


Versions (?)

plist読み込みサンプル


 / Published in: Objective C
 

  1. NSString *pathForConfig = [[NSBundle mainBundle] pathForResource:@"Config" ofType:@"plist"];
  2. NSDictionary* configDictionary = [[NSDictionary alloc] initWithContentsOfFile:pathForConfig];
  3. NSString* IMAGE_EXTENTION = (NSString*)[configDictionary objectForKey:@"Image Extention"];

Report this snippet  

You need to login to post a comment.