Authored by Hal Mueller

minor tweaks to sample code

... ... @@ -315,7 +315,7 @@
HEADER_SEARCH_PATHS = "../../MapView/**";
INFOPLIST_FILE = Info.plist;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = MapTestbed;
PRODUCT_NAME = TwoMaps;
};
name = Release;
};
... ...
... ... @@ -16,6 +16,7 @@
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
// Custom initialization
NSLog(@"initWithNibName");
}
return self;
}
... ... @@ -23,6 +24,7 @@
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
NSLog(@"viewDidLoad");
[super viewDidLoad];
[mapView setDelegate:self];
[(SampleMapAppDelegate *)[[UIApplication sharedApplication] delegate] setMapContents:[mapView contents]];
... ...