CoreLocation Changes
CoreLocation
Added CLLocationCoordinate2D.init()
Added CLLocationCoordinate2D.init(latitude: CLLocationDegrees, longitude: CLLocationDegrees)
Modified CLAuthorizationStatus.AuthorizedAlways
Introduction | |
---|---|
From | iOS 8.2 |
To | iOS 8.0 |
Modified CLLocationCoordinate2D [struct]
Declaration | |
---|---|
From | struct CLLocationCoordinate2D { var latitude: CLLocationDegrees var longitude: CLLocationDegrees } |
To | struct CLLocationCoordinate2D { var latitude: CLLocationDegrees var longitude: CLLocationDegrees init() init(latitude latitude: CLLocationDegrees, longitude longitude: CLLocationDegrees) } |
Modified CLLocationManager.monitoredRegions
Declaration | |
---|---|
From | @NSCopying var monitoredRegions: NSSet! { get } |
To | var monitoredRegions: Set<NSObject>! { get } |
Modified CLLocationManager.rangedRegions
Declaration | |
---|---|
From | @NSCopying var rangedRegions: NSSet! { get } |
To | var rangedRegions: Set<NSObject>! { get } |
Modified kCLErrorDomain
Declaration | |
---|---|
From | let kCLErrorDomain: NSString! |
To | let kCLErrorDomain: String |
Modified kCLErrorUserInfoAlternateRegionKey
Declaration | |
---|---|
From | let kCLErrorUserInfoAlternateRegionKey: NSString! |
To | let kCLErrorUserInfoAlternateRegionKey: String |