Authored by Joseph G

Pulled MapView out into its own library.

... ... @@ -156,7 +156,7 @@
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/MainView.h</string>
<string key="minorKey">MainView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
... ... @@ -164,7 +164,7 @@
<string key="superclassName">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/MainViewController.h</string>
<string key="minorKey">MainViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
... ... @@ -178,7 +178,7 @@
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.LastKnownRelativeProjectPath">Images.xcodeproj</string>
<string key="IBDocument.LastKnownRelativeProjectPath">RouteMe.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
</data>
</archive>
... ...
... ... @@ -9,23 +9,24 @@
#import "MainViewController.h"
#import "MainView.h"
@implementation MainViewController
#import "MapView.h"
@implementation MainViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
// Custom initialization
// I don't really understand why, but I need to mention MapView
// somewhere here for the interface builder file to load correctly.
[MapView class];
}
return self;
}
/*
If you need to do additional setup after loading the view, override viewDidLoad.
- (void)viewDidLoad {
}
*/
// If you need to do additional setup after loading the view, override viewDidLoad.
// - (void)viewDidLoad {
// }
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
... ...
... ... @@ -52,6 +52,7 @@ Desired Features
----------------
Search
Bookmarked locations
Overlays (Of course, these can just be done with cocoa at the moment)
Remember last location
Disk cache
... ...