iPhone Appのサンプルコード LocateMeを動かしてみる

iPhone DevCenterのSample CodeからLocateMeをダウンロードし動かしてみた。


起動後の画面


Startボタンを押すと現在位置を取得し画面に表示

LocateMeのプロジェクト構成

Kuru-MacBook:LocateMe kuru$ ls -R
Classes			Icon.png		Localizable.strings	LocateMe_Prefix.pch	build			main.m
Default.png		Info.plist		LocateMe.xcodeproj	ReadMe.txt		en.lproj

./Classes:
AccuracyPickerItem.h		FlipsideViewController.m	MainViewController.h		MyCLController.m
AccuracyPickerItem.m		LocateMeAppDelegate.h		MainViewController.m		RootViewController.h
FlipsideViewController.h	LocateMeAppDelegate.m		MyCLController.h		RootViewController.m

./LocateMe.xcodeproj:
kuru.pbxuser	project.pbxproj

./build:
LocateMe.build

./build/LocateMe.build:
LocateMe.pbxindex

./build/LocateMe.build/LocateMe.pbxindex:
categories.pbxbtree	decls.pbxbtree		imports.pbxbtree	protocols.pbxbtree	strings.pbxstrings	symbols0.pbxsymbols
cdecls.pbxbtree		files.pbxbtree		pbxindex.header		refs.pbxbtree		subclasses.pbxbtree

./build/LocateMe.build/LocateMe.pbxindex/strings.pbxstrings:
control	strings

./en.lproj:
FlipsideView.xib	MainView.xib		MainWindow.xib