Authored by Joseph G

Pulled MapView out into its own library.

@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
156 <string key="superclassName">UIView</string> 156 <string key="superclassName">UIView</string>
157 <object class="IBClassDescriptionSource" key="sourceIdentifier"> 157 <object class="IBClassDescriptionSource" key="sourceIdentifier">
158 <string key="majorKey">IBProjectSource</string> 158 <string key="majorKey">IBProjectSource</string>
159 - <string key="minorKey">Classes/MainView.h</string> 159 + <string key="minorKey">MainView.h</string>
160 </object> 160 </object>
161 </object> 161 </object>
162 <object class="IBPartialClassDescription"> 162 <object class="IBPartialClassDescription">
@@ -164,7 +164,7 @@ @@ -164,7 +164,7 @@
164 <string key="superclassName">UIViewController</string> 164 <string key="superclassName">UIViewController</string>
165 <object class="IBClassDescriptionSource" key="sourceIdentifier"> 165 <object class="IBClassDescriptionSource" key="sourceIdentifier">
166 <string key="majorKey">IBProjectSource</string> 166 <string key="majorKey">IBProjectSource</string>
167 - <string key="minorKey">Classes/MainViewController.h</string> 167 + <string key="minorKey">MainViewController.h</string>
168 </object> 168 </object>
169 </object> 169 </object>
170 <object class="IBPartialClassDescription"> 170 <object class="IBPartialClassDescription">
@@ -178,7 +178,7 @@ @@ -178,7 +178,7 @@
178 </object> 178 </object>
179 </object> 179 </object>
180 <int key="IBDocument.localizationMode">0</int> 180 <int key="IBDocument.localizationMode">0</int>
181 - <string key="IBDocument.LastKnownRelativeProjectPath">Images.xcodeproj</string> 181 + <string key="IBDocument.LastKnownRelativeProjectPath">RouteMe.xcodeproj</string>
182 <int key="IBDocument.defaultPropertyAccessControl">3</int> 182 <int key="IBDocument.defaultPropertyAccessControl">3</int>
183 </data> 183 </data>
184 </archive> 184 </archive>
@@ -9,23 +9,24 @@ @@ -9,23 +9,24 @@
9 #import "MainViewController.h" 9 #import "MainViewController.h"
10 #import "MainView.h" 10 #import "MainView.h"
11 11
12 -@implementation MainViewController 12 +#import "MapView.h"
13 13
  14 +@implementation MainViewController
14 15
15 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { 16 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
16 if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { 17 if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
17 // Custom initialization 18 // Custom initialization
  19 +
  20 + // I don't really understand why, but I need to mention MapView
  21 + // somewhere here for the interface builder file to load correctly.
  22 + [MapView class];
18 } 23 }
19 return self; 24 return self;
20 } 25 }
21 26
22 -  
23 -/*  
24 - If you need to do additional setup after loading the view, override viewDidLoad.  
25 - - (void)viewDidLoad {  
26 - }  
27 - */  
28 - 27 +// If you need to do additional setup after loading the view, override viewDidLoad.
  28 +// - (void)viewDidLoad {
  29 +// }
29 30
30 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 31 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
31 // Return YES for supported orientations 32 // Return YES for supported orientations
@@ -52,6 +52,7 @@ Desired Features @@ -52,6 +52,7 @@ Desired Features
52 ---------------- 52 ----------------
53 53
54 Search 54 Search
  55 +Bookmarked locations
55 Overlays (Of course, these can just be done with cocoa at the moment) 56 Overlays (Of course, these can just be done with cocoa at the moment)
56 Remember last location 57 Remember last location
57 Disk cache 58 Disk cache