プロパティリストの読み込み

station_location.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
	<dict>
		<key>name</key>
		<string>本厚木駅</string>
		<key>longitude</key>
		<real>139.3643034249544</real>
		<key>latitude</key>
		<real>35.43936251506832</real>
	</dict>
	<dict>
		<key>name</key>
		<string>厚木駅</string>
		<key>longitude</key>
		<real>139.3779055774212</real>
		<key>latitude</key>
		<real>35.44304298063737</real>
	</dict>
	<dict>
		<key>name</key>
		<string>座間駅</string>
		<key>longitude</key>
		<real>139.3999365717173</real>
		<key>latitude</key>
		<real>35.48068255957845</real>
	</dict>
</array>
</plist>

Station1ViewController.mの一部
- (void)viewDidLoad {
   [super viewDidLoad];

   NSString* _path = [[NSBundle mainBundle] pathForResource:@"station_location" ofType:@"plist"];
   NSArray* _plist = [NSArray arrayWithContentsOfFile:_path];

   NSMutableString* message = [NSMutableString stringWithString:@""];
   for (NSDictionary* station in _plist) {
       NSString* name = [station objectForKey:@"name"];
       NSNumber* longitude = [station objectForKey:@"longitude"];
       NSNumber* latitude = [station objectForKey:@"latitude"];

       NSString* m = [NSString stringWithFormat:@"[ %@: 経度=%@ 緯度=%@ ]", name, longitude, latitude];
       [message appendString:m];
   }

   tv.text = message;
}