2011-08-17から1日間の記事一覧

plistから数値を読み込む

NSString *path = [[NSBundle mainBundle] pathForResource:@"places" ofType:@"plist"]; placesDictionary = [[NSDictionary alloc] initWithContentsOfFile:path]; NSArray *places = [placesDictionary objectForKey:@"places"]; NSDictionary *place = […