Documentation Archive Developer
Search

CoreLocation Changes

CoreLocation

CLBeaconRegion.h
Declaration
From
@property(readonly, nonatomic) NSNumber *major
To
@property(readonly, nonatomic, strong) NSNumber *major

Declaration
From
@property(readonly, nonatomic) NSNumber *minor
To
@property(readonly, nonatomic, strong) NSNumber *minor

Declaration
From
@property(readonly, nonatomic) NSUUID *proximityUUID
To
@property(readonly, nonatomic, strong) NSUUID *proximityUUID

Declaration
From
- (id)initWithProximityUUID:(NSUUID *)proximityUUID identifier:(NSString *)identifier
To
- (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID identifier:(NSString *)identifier

Declaration
From
- (id)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major identifier:(NSString *)identifier
To
- (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major identifier:(NSString *)identifier

Declaration
From
- (id)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor identifier:(NSString *)identifier
To
- (instancetype)initWithProximityUUID:(NSUUID *)proximityUUID major:(CLBeaconMajorValue)major minor:(CLBeaconMinorValue)minor identifier:(NSString *)identifier

Declaration
From
@property(readonly, nonatomic) NSNumber *major
To
@property(readonly, nonatomic, strong) NSNumber *major

Declaration
From
@property(readonly, nonatomic) NSNumber *minor
To
@property(readonly, nonatomic, strong) NSNumber *minor

Declaration
From
@property(readonly, nonatomic) NSUUID *proximityUUID
To
@property(readonly, nonatomic, strong) NSUUID *proximityUUID

CLCircularRegion.h
Declaration
From
- (id)initWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier
To
- (instancetype)initWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier

CLHeading.h
Removed -[CLHeading description]
Added CLHeading.description
Declaration
From
@property(readonly, nonatomic) NSDate *timestamp
To
@property(readonly, nonatomic, copy) NSDate *timestamp

CLLocation.h
Removed -[CLLocation description]
Added CLFloor
Added CLLocation.description
Declaration
From
- (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate altitude:(CLLocationDistance)altitude horizontalAccuracy:(CLLocationAccuracy)hAccuracy verticalAccuracy:(CLLocationAccuracy)vAccuracy course:(CLLocationDirection)course speed:(CLLocationSpeed)speed timestamp:(NSDate *)timestamp
To
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate altitude:(CLLocationDistance)altitude horizontalAccuracy:(CLLocationAccuracy)hAccuracy verticalAccuracy:(CLLocationAccuracy)vAccuracy course:(CLLocationDirection)course speed:(CLLocationSpeed)speed timestamp:(NSDate *)timestamp

Declaration
From
- (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate altitude:(CLLocationDistance)altitude horizontalAccuracy:(CLLocationAccuracy)hAccuracy verticalAccuracy:(CLLocationAccuracy)vAccuracy timestamp:(NSDate *)timestamp
To
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate altitude:(CLLocationDistance)altitude horizontalAccuracy:(CLLocationAccuracy)hAccuracy verticalAccuracy:(CLLocationAccuracy)vAccuracy timestamp:(NSDate *)timestamp

Declaration
From
- (id)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude
To
- (instancetype)initWithLatitude:(CLLocationDegrees)latitude longitude:(CLLocationDegrees)longitude

Declaration
From
@property(readonly, nonatomic) NSDate *timestamp
To
@property(readonly, nonatomic, copy) NSDate *timestamp

CLLocationManager+CLVisitExtensions.h (Added)
Added CLLocationManager(CLVisitExtensions)
CLLocationManager.h
Declaration
From
@property(readonly, nonatomic) CLHeading *heading
To
@property(readonly, nonatomic, copy) CLHeading *heading

Declaration
From
@property(readonly, nonatomic) CLLocation *location
To
@property(readonly, nonatomic, copy) CLLocation *location

Declaration
From
@property(readonly, nonatomic) NSSet *monitoredRegions
To
@property(readonly, nonatomic, copy) NSSet *monitoredRegions

Declaration
From
@property(readonly, nonatomic) NSSet *rangedRegions
To
@property(readonly, nonatomic, copy) NSSet *rangedRegions

DeprecationIntroduction
From--iOS 4.2
ToiOS 8.0iOS 2.0

CLLocationManagerDelegate.h
Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

CLPlacemark.h
Declaration
From
@property(nonatomic, readonly) NSString *ISOcountryCode
To
@property(nonatomic, readonly, copy) NSString *ISOcountryCode

Declaration
From
@property(nonatomic, readonly) NSDictionary *addressDictionary
To
@property(nonatomic, readonly, copy) NSDictionary *addressDictionary

Declaration
From
@property(nonatomic, readonly) NSString *administrativeArea
To
@property(nonatomic, readonly, copy) NSString *administrativeArea

Declaration
From
@property(nonatomic, readonly) NSArray *areasOfInterest
To
@property(nonatomic, readonly, copy) NSArray *areasOfInterest

Declaration
From
@property(nonatomic, readonly) NSString *country
To
@property(nonatomic, readonly, copy) NSString *country

Declaration
From
- (id)initWithPlacemark:(CLPlacemark *)placemark
To
- (instancetype)initWithPlacemark:(CLPlacemark *)placemark

Declaration
From
@property(nonatomic, readonly) NSString *inlandWater
To
@property(nonatomic, readonly, copy) NSString *inlandWater

Declaration
From
@property(nonatomic, readonly) NSString *locality
To
@property(nonatomic, readonly, copy) NSString *locality

Declaration
From
@property(nonatomic, readonly) CLLocation *location
To
@property(nonatomic, readonly, copy) CLLocation *location

Declaration
From
@property(nonatomic, readonly) NSString *name
To
@property(nonatomic, readonly, copy) NSString *name

Declaration
From
@property(nonatomic, readonly) NSString *ocean
To
@property(nonatomic, readonly, copy) NSString *ocean

Declaration
From
@property(nonatomic, readonly) NSString *postalCode
To
@property(nonatomic, readonly, copy) NSString *postalCode

Declaration
From
@property(nonatomic, readonly) CLRegion *region
To
@property(nonatomic, readonly, copy) CLRegion *region

Declaration
From
@property(nonatomic, readonly) NSString *subAdministrativeArea
To
@property(nonatomic, readonly, copy) NSString *subAdministrativeArea

Declaration
From
@property(nonatomic, readonly) NSString *subLocality
To
@property(nonatomic, readonly, copy) NSString *subLocality

Declaration
From
@property(nonatomic, readonly) NSString *subThoroughfare
To
@property(nonatomic, readonly, copy) NSString *subThoroughfare

Declaration
From
@property(nonatomic, readonly) NSString *thoroughfare
To
@property(nonatomic, readonly, copy) NSString *thoroughfare

CLRegion.h
Declaration
From
@property(readonly, nonatomic) NSString *identifier
To
@property(readonly, nonatomic, copy) NSString *identifier

Declaration
From
- (id)initCircularRegionWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier
To
- (instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier