Permalink
Browse files

Made lastKnownLocation assign-able

  • Loading branch information...
1 parent d75c1bb commit 1c2628965d388f4fb8e05ee078c35c0d37c34482 @myell0w myell0w committed Dec 31, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −1 MTLocation/MTLocationManager.h
  2. +0 −2 MTLocation/MTLocationManager.m
@@ -28,7 +28,7 @@ typedef void (^mt_location_changed_block)(CLLocation *location);
@interface MTLocationManager : NSObject <CLLocationManagerDelegate, MTLocateMeButtonDelegate>
@property (nonatomic, strong) CLLocationManager *locationManager;
-@property (nonatomic, strong, readonly) CLLocation *lastKnownLocation;
+@property (nonatomic, strong) CLLocation *lastKnownLocation;
// Optional: a MapView that gets rotated according to heading updates
@property (nonatomic, strong) MKMapView *mapView;
// configure if heading calibration should be displayed
@@ -22,8 +22,6 @@
@interface MTLocationManager ()
-// re-define as read/write
-@property (nonatomic, strong, readwrite) CLLocation *lastKnownLocation;
@property (nonatomic, copy) mt_location_changed_block locationChangedBlock;
- (void)setActiveServicesForTrackingMode:(MTUserTrackingMode)trackingMode;

0 comments on commit 1c26289

Please sign in to comment.