Skip to content

Commit

Permalink
Added new sample
Browse files Browse the repository at this point in the history
  • Loading branch information
renderman47 committed Feb 22, 2013
1 parent c90937a commit 3ba2e98
Show file tree
Hide file tree
Showing 20 changed files with 7 additions and 526 deletions.
Binary file removed CurrentAddress/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion CurrentAddress/Classes/MapViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>


@interface MapViewController : UIViewController <MKMapViewDelegate>

@end
Expand Down
14 changes: 0 additions & 14 deletions CurrentAddress/Classes/MapViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,12 @@ @interface MapViewController ()

@implementation MapViewController

- (void)gotoLocation
{
// start off by default in San Francisco
MKCoordinateRegion newRegion;
newRegion.center.latitude = 37.786996;
newRegion.center.longitude = -122.440100;
newRegion.span.latitudeDelta = 0.112872;
newRegion.span.longitudeDelta = 0.109863;

[self.mapView setRegion:newRegion animated:YES];
}

- (void)viewDidLoad
{
[super viewDidLoad];

self.mapView.showsUserLocation = YES;


[self gotoLocation]; // finally goto San Francisco
self.geocoder = [[CLGeocoder alloc] init];

// create a custom navigation bar button and set it to always say "Back"
Expand Down
1 change: 0 additions & 1 deletion CurrentAddress/Classes/PlacemarkViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>


@interface PlacemarkViewController : UITableViewController

@property (nonatomic, strong) MKPlacemark *placemark;
Expand Down
2 changes: 1 addition & 1 deletion CurrentAddress/CurrentAddress-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<string>Icon-Small@2x.png</string>
</array>
<key>CFBundleIdentifier</key>
<string>com.esri.apl.${PRODUCT_NAME:rfc1034identifier}</string>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
151 changes: 2 additions & 149 deletions CurrentAddress/CurrentAddress.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3ba2e98

Please sign in to comment.