CoreLocation Changes for Swift
CoreLocation
Removed CLLocation.description
Added CLError [struct]
Added CLError.deferredCanceled
Added CLError.deferredFailed
Added CLError.denied
Added CLError.geocodeCanceled
Added CLError.headingFailure
Added CLError.init(_nsError: NSError)
Added CLError.locationUnknown
Added CLError.network
Added CLError.rangingFailure
Added CLLocation.course
Added CLLocation.speed
Modified CLActivityType [enum]
| Declaration | |
|---|---|
| From | enum CLActivityType : Int {
case Other
case AutomotiveNavigation
case Fitness
case OtherNavigation
} |
| To | enum CLActivityType : Int {
case other
case automotiveNavigation
case fitness
case otherNavigation
} |
Modified CLActivityType.automotiveNavigation
| Declaration | |
|---|---|
| From | case AutomotiveNavigation |
| To | case automotiveNavigation |
Modified CLActivityType.fitness
| Declaration | |
|---|---|
| From | case Fitness |
| To | case fitness |
Modified CLActivityType.other
| Declaration | |
|---|---|
| From | case Other |
| To | case other |
Modified CLActivityType.otherNavigation
| Declaration | |
|---|---|
| From | case OtherNavigation |
| To | case otherNavigation |
Modified CLAuthorizationStatus [enum]
| Declaration | |
|---|---|
| From | enum CLAuthorizationStatus : Int32 {
case NotDetermined
case Restricted
case Denied
case AuthorizedAlways
case AuthorizedWhenInUse
static var Authorized: CLAuthorizationStatus { get }
} |
| To | enum CLAuthorizationStatus : Int32 {
case notDetermined
case restricted
case denied
case authorizedAlways
case authorizedWhenInUse
static var authorized: CLAuthorizationStatus { get }
} |
| Declaration | |
|---|---|
| From | case AuthorizedAlways |
| To | case authorizedAlways |
| Declaration | |
|---|---|
| From | case AuthorizedWhenInUse |
| To | case authorizedWhenInUse |
Modified CLAuthorizationStatus.denied
| Declaration | |
|---|---|
| From | case Denied |
| To | case denied |
Modified CLAuthorizationStatus.notDetermined
| Declaration | |
|---|---|
| From | case NotDetermined |
| To | case notDetermined |
Modified CLAuthorizationStatus.restricted
| Declaration | |
|---|---|
| From | case Restricted |
| To | case restricted |
Modified CLCircularRegion
| Declaration | |
|---|---|
| From | class CLCircularRegion : CLRegion {
init(center center: CLLocationCoordinate2D, radius radius: CLLocationDistance, identifier identifier: String)
var center: CLLocationCoordinate2D { get }
var radius: CLLocationDistance { get }
func containsCoordinate(_ coordinate: CLLocationCoordinate2D) -> Bool
} |
| To | class CLCircularRegion : CLRegion {
init(center center: CLLocationCoordinate2D, radius radius: CLLocationDistance, identifier identifier: String)
var center: CLLocationCoordinate2D { get }
var radius: CLLocationDistance { get }
func contains(_ coordinate: CLLocationCoordinate2D) -> Bool
} |
| Declaration | |
|---|---|
| From | func containsCoordinate(_ coordinate: CLLocationCoordinate2D) -> Bool |
| To | func contains(_ coordinate: CLLocationCoordinate2D) -> Bool |
Modified CLDeviceOrientation [enum]
| Declaration | |
|---|---|
| From | enum CLDeviceOrientation : Int32 {
case Unknown
case Portrait
case PortraitUpsideDown
case LandscapeLeft
case LandscapeRight
case FaceUp
case FaceDown
} |
| To | enum CLDeviceOrientation : Int32 {
case unknown
case portrait
case portraitUpsideDown
case landscapeLeft
case landscapeRight
case faceUp
case faceDown
} |
Modified CLDeviceOrientation.faceDown
| Declaration | |
|---|---|
| From | case FaceDown |
| To | case faceDown |
Modified CLDeviceOrientation.faceUp
| Declaration | |
|---|---|
| From | case FaceUp |
| To | case faceUp |
Modified CLDeviceOrientation.landscapeLeft
| Declaration | |
|---|---|
| From | case LandscapeLeft |
| To | case landscapeLeft |
Modified CLDeviceOrientation.landscapeRight
| Declaration | |
|---|---|
| From | case LandscapeRight |
| To | case landscapeRight |
Modified CLDeviceOrientation.portrait
| Declaration | |
|---|---|
| From | case Portrait |
| To | case portrait |
| Declaration | |
|---|---|
| From | case PortraitUpsideDown |
| To | case portraitUpsideDown |
Modified CLDeviceOrientation.unknown
| Declaration | |
|---|---|
| From | case Unknown |
| To | case unknown |
Modified CLError.Code [enum]
| Declaration | |
|---|---|
| From | enum CLError : Int {
case LocationUnknown
case Denied
case Network
case HeadingFailure
case RegionMonitoringDenied
case RegionMonitoringFailure
case RegionMonitoringSetupDelayed
case RegionMonitoringResponseDelayed
case GeocodeFoundNoResult
case GeocodeFoundPartialResult
case GeocodeCanceled
case DeferredFailed
case DeferredNotUpdatingLocation
case DeferredAccuracyTooLow
case DeferredDistanceFiltered
case DeferredCanceled
case RangingUnavailable
case RangingFailure
}
extension CLError : _BridgedNSError {
}
extension CLError : _BridgedNSError {
} |
| To | enum Code : Int {
typealias _ErrorType = CLError
case locationUnknown
case denied
case network
case headingFailure
case regionMonitoringDenied
case regionMonitoringFailure
case regionMonitoringSetupDelayed
case regionMonitoringResponseDelayed
case geocodeFoundNoResult
case geocodeFoundPartialResult
case geocodeCanceled
case deferredFailed
case deferredNotUpdatingLocation
case deferredAccuracyTooLow
case deferredDistanceFiltered
case deferredCanceled
case rangingUnavailable
case rangingFailure
} |
Modified CLError.Code.deferredAccuracyTooLow
| Declaration | Introduction | |
|---|---|---|
| From | case DeferredAccuracyTooLow | watchOS 2.0 |
| To | case deferredAccuracyTooLow | watchOS 3.0 |
Modified CLError.Code.deferredCanceled
| Declaration | |
|---|---|
| From | case DeferredCanceled |
| To | case deferredCanceled |
| Declaration | |
|---|---|
| From | case DeferredDistanceFiltered |
| To | case deferredDistanceFiltered |
Modified CLError.Code.deferredFailed
| Declaration | |
|---|---|
| From | case DeferredFailed |
| To | case deferredFailed |
| Declaration | |
|---|---|
| From | case DeferredNotUpdatingLocation |
| To | case deferredNotUpdatingLocation |
Modified CLError.Code.denied
| Declaration | |
|---|---|
| From | case Denied |
| To | case denied |
Modified CLError.Code.geocodeCanceled
| Declaration | |
|---|---|
| From | case GeocodeCanceled |
| To | case geocodeCanceled |
Modified CLError.Code.geocodeFoundNoResult
| Declaration | |
|---|---|
| From | case GeocodeFoundNoResult |
| To | case geocodeFoundNoResult |
| Declaration | |
|---|---|
| From | case GeocodeFoundPartialResult |
| To | case geocodeFoundPartialResult |
Modified CLError.Code.headingFailure
| Declaration | Introduction | |
|---|---|---|
| From | case HeadingFailure | watchOS 2.0 |
| To | case headingFailure | watchOS 3.0 |
Modified CLError.Code.locationUnknown
| Declaration | |
|---|---|
| From | case LocationUnknown |
| To | case locationUnknown |
Modified CLError.Code.network
| Declaration | Introduction | |
|---|---|---|
| From | case Network | watchOS 2.0 |
| To | case network | watchOS 3.0 |
Modified CLError.Code.rangingFailure
| Declaration | Introduction | |
|---|---|---|
| From | case RangingFailure | watchOS 2.0 |
| To | case rangingFailure | watchOS 3.0 |
Modified CLError.Code.rangingUnavailable
| Declaration | |
|---|---|
| From | case RangingUnavailable |
| To | case rangingUnavailable |
Modified CLError.Code.regionMonitoringDenied
| Declaration | |
|---|---|
| From | case RegionMonitoringDenied |
| To | case regionMonitoringDenied |
Modified CLError.Code.regionMonitoringFailure
| Declaration | |
|---|---|
| From | case RegionMonitoringFailure |
| To | case regionMonitoringFailure |
| Declaration | |
|---|---|
| From | case RegionMonitoringResponseDelayed |
| To | case regionMonitoringResponseDelayed |
| Declaration | |
|---|---|
| From | case RegionMonitoringSetupDelayed |
| To | case regionMonitoringSetupDelayed |
Modified CLFloor
| Declaration | Protocols | |
|---|---|---|
| From | class CLFloor : NSObject, NSCopying, NSSecureCoding {
var level: Int { get }
} | NSCopying, NSSecureCoding |
| To | class CLFloor : NSObject, NSCopying, NSSecureCoding {
var level: Int { get }
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CLFloor : CVarArg {
}
extension CLFloor : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CLGeocoder
| Declaration | Protocols | |
|---|---|---|
| From | class CLGeocoder : NSObject {
var geocoding: Bool { get }
func reverseGeocodeLocation(_ location: CLLocation, completionHandler completionHandler: CLGeocodeCompletionHandler)
func geocodeAddressDictionary(_ addressDictionary: [NSObject : AnyObject], completionHandler completionHandler: CLGeocodeCompletionHandler)
func geocodeAddressString(_ addressString: String, completionHandler completionHandler: CLGeocodeCompletionHandler)
func geocodeAddressString(_ addressString: String, inRegion region: CLRegion?, completionHandler completionHandler: CLGeocodeCompletionHandler)
func cancelGeocode()
} | -- |
| To | class CLGeocoder : NSObject {
var isGeocoding: Bool { get }
func reverseGeocodeLocation(_ location: CLLocation, completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler)
func geocodeAddressDictionary(_ addressDictionary: [AnyHashable : Any], completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler)
func geocodeAddressString(_ addressString: String, completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler)
func geocodeAddressString(_ addressString: String, in region: CLRegion?, completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler)
func cancelGeocode()
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CLGeocoder : CVarArg {
}
extension CLGeocoder : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable |
| Declaration | |
|---|---|
| From | func geocodeAddressDictionary(_ addressDictionary: [NSObject : AnyObject], completionHandler completionHandler: CLGeocodeCompletionHandler) |
| To | func geocodeAddressDictionary(_ addressDictionary: [AnyHashable : Any], completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler) |
| Declaration | |
|---|---|
| From | func geocodeAddressString(_ addressString: String, completionHandler completionHandler: CLGeocodeCompletionHandler) |
| To | func geocodeAddressString(_ addressString: String, completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler) |
| Declaration | |
|---|---|
| From | func geocodeAddressString(_ addressString: String, inRegion region: CLRegion?, completionHandler completionHandler: CLGeocodeCompletionHandler) |
| To | func geocodeAddressString(_ addressString: String, in region: CLRegion?, completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler) |
Modified CLGeocoder.isGeocoding
| Declaration | |
|---|---|
| From | var geocoding: Bool { get } |
| To | var isGeocoding: Bool { get } |
| Declaration | |
|---|---|
| From | func reverseGeocodeLocation(_ location: CLLocation, completionHandler completionHandler: CLGeocodeCompletionHandler) |
| To | func reverseGeocodeLocation(_ location: CLLocation, completionHandler completionHandler: CoreLocation.CLGeocodeCompletionHandler) |
Modified CLLocation
| Declaration | Protocols | |
|---|---|---|
| From | class CLLocation : NSObject, NSCopying, NSSecureCoding {
init(latitude latitude: CLLocationDegrees, longitude longitude: CLLocationDegrees)
init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, timestamp timestamp: NSDate)
init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, course course: CLLocationDirection, speed speed: CLLocationSpeed, timestamp timestamp: NSDate)
var coordinate: CLLocationCoordinate2D { get }
var altitude: CLLocationDistance { get }
var horizontalAccuracy: CLLocationAccuracy { get }
var verticalAccuracy: CLLocationAccuracy { get }
var course: CLLocationDirection { get }
var speed: CLLocationSpeed { get }
@NSCopying var timestamp: NSDate { get }
@NSCopying var floor: CLFloor? { get }
var description: String { get }
func getDistanceFrom(_ location: CLLocation) -> CLLocationDistance
func distanceFromLocation(_ location: CLLocation) -> CLLocationDistance
} | NSCopying, NSSecureCoding |
| To | class CLLocation : NSObject, NSCopying, NSSecureCoding {
init(latitude latitude: CLLocationDegrees, longitude longitude: CLLocationDegrees)
init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, timestamp timestamp: Date)
init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, course course: CLLocationDirection, speed speed: CLLocationSpeed, timestamp timestamp: Date)
var coordinate: CLLocationCoordinate2D { get }
var altitude: CLLocationDistance { get }
var horizontalAccuracy: CLLocationAccuracy { get }
var verticalAccuracy: CLLocationAccuracy { get }
var course: CLLocationDirection { get }
var speed: CLLocationSpeed { get }
var timestamp: Date { get }
@NSCopying var floor: CLFloor? { get }
func getDistanceFrom(_ location: CLLocation) -> CLLocationDistance
func distance(from location: CLLocation) -> CLLocationDistance
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CLLocation : CKRecordValue {
}
extension CLLocation : CVarArg {
}
extension CLLocation : Equatable, Hashable {
var hashValue: Int { get }
} | CKRecordValue, CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
| Declaration | |
|---|---|
| From | func distanceFromLocation(_ location: CLLocation) -> CLLocationDistance |
| To | func distance(from location: CLLocation) -> CLLocationDistance |
| Declaration | |
|---|---|
| From | init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, course course: CLLocationDirection, speed speed: CLLocationSpeed, timestamp timestamp: NSDate) |
| To | init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, course course: CLLocationDirection, speed speed: CLLocationSpeed, timestamp timestamp: Date) |
| Declaration | |
|---|---|
| From | init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, timestamp timestamp: NSDate) |
| To | init(coordinate coordinate: CLLocationCoordinate2D, altitude altitude: CLLocationDistance, horizontalAccuracy hAccuracy: CLLocationAccuracy, verticalAccuracy vAccuracy: CLLocationAccuracy, timestamp timestamp: Date) |
Modified CLLocation.timestamp
| Declaration | |
|---|---|
| From | @NSCopying var timestamp: NSDate { get } |
| To | var timestamp: Date { get } |
Modified CLLocationManager
| Declaration | Protocols | |
|---|---|---|
| From | class CLLocationManager : NSObject {
class func locationServicesEnabled() -> Bool
class func headingAvailable() -> Bool
class func significantLocationChangeMonitoringAvailable() -> Bool
class func isMonitoringAvailableForClass(_ regionClass: AnyClass) -> Bool
class func regionMonitoringAvailable() -> Bool
class func regionMonitoringEnabled() -> Bool
class func isRangingAvailable() -> Bool
class func authorizationStatus() -> CLAuthorizationStatus
unowned(unsafe) var delegate: CLLocationManagerDelegate?
var locationServicesEnabled: Bool { get }
var purpose: String?
var activityType: CLActivityType
var distanceFilter: CLLocationDistance
var desiredAccuracy: CLLocationAccuracy
var pausesLocationUpdatesAutomatically: Bool
var allowsBackgroundLocationUpdates: Bool
@NSCopying var location: CLLocation? { get }
var headingAvailable: Bool { get }
var headingFilter: CLLocationDegrees
var headingOrientation: CLDeviceOrientation
@NSCopying var heading: CLHeading? { get }
var maximumRegionMonitoringDistance: CLLocationDistance { get }
var monitoredRegions: Set<CLRegion> { get }
var rangedRegions: Set<CLRegion> { get }
func requestWhenInUseAuthorization()
func requestAlwaysAuthorization()
func startUpdatingLocation()
func stopUpdatingLocation()
func requestLocation()
func startUpdatingHeading()
func stopUpdatingHeading()
func dismissHeadingCalibrationDisplay()
func startMonitoringSignificantLocationChanges()
func stopMonitoringSignificantLocationChanges()
func startMonitoringForRegion(_ region: CLRegion, desiredAccuracy accuracy: CLLocationAccuracy)
func stopMonitoringForRegion(_ region: CLRegion)
func startMonitoringForRegion(_ region: CLRegion)
func requestStateForRegion(_ region: CLRegion)
func startRangingBeaconsInRegion(_ region: CLBeaconRegion)
func stopRangingBeaconsInRegion(_ region: CLBeaconRegion)
func allowDeferredLocationUpdatesUntilTraveled(_ distance: CLLocationDistance, timeout timeout: NSTimeInterval)
func disallowDeferredLocationUpdates()
class func deferredLocationUpdatesAvailable() -> Bool
}
extension CLLocationManager {
func startMonitoringVisits()
func stopMonitoringVisits()
} | -- |
| To | class CLLocationManager : NSObject {
class func locationServicesEnabled() -> Bool
class func headingAvailable() -> Bool
class func significantLocationChangeMonitoringAvailable() -> Bool
class func isMonitoringAvailable(for regionClass: Swift.AnyClass) -> Bool
class func regionMonitoringAvailable() -> Bool
class func regionMonitoringEnabled() -> Bool
class func isRangingAvailable() -> Bool
class func authorizationStatus() -> CLAuthorizationStatus
unowned(unsafe) var delegate: CLLocationManagerDelegate?
var locationServicesEnabled: Bool { get }
var purpose: String?
var activityType: CLActivityType
var distanceFilter: CLLocationDistance
var desiredAccuracy: CLLocationAccuracy
var pausesLocationUpdatesAutomatically: Bool
var allowsBackgroundLocationUpdates: Bool
@NSCopying var location: CLLocation? { get }
var headingAvailable: Bool { get }
var headingFilter: CLLocationDegrees
var headingOrientation: CLDeviceOrientation
@NSCopying var heading: CLHeading? { get }
var maximumRegionMonitoringDistance: CLLocationDistance { get }
var monitoredRegions: Set<CLRegion> { get }
var rangedRegions: Set<CLRegion> { get }
func requestWhenInUseAuthorization()
func requestAlwaysAuthorization()
func startUpdatingLocation()
func stopUpdatingLocation()
func requestLocation()
func startUpdatingHeading()
func stopUpdatingHeading()
func dismissHeadingCalibrationDisplay()
func startMonitoringSignificantLocationChanges()
func stopMonitoringSignificantLocationChanges()
func startMonitoring(for region: CLRegion, desiredAccuracy accuracy: CLLocationAccuracy)
func stopMonitoring(for region: CLRegion)
func startMonitoring(for region: CLRegion)
func requestState(for region: CLRegion)
func startRangingBeacons(in region: CLBeaconRegion)
func stopRangingBeacons(in region: CLBeaconRegion)
func allowDeferredLocationUpdates(untilTraveled distance: CLLocationDistance, timeout timeout: TimeInterval)
func disallowDeferredLocationUpdates()
class func deferredLocationUpdatesAvailable() -> Bool
func startMonitoringVisits()
func stopMonitoringVisits()
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CLLocationManager : CVarArg {
}
extension CLLocationManager : Equatable, Hashable {
var hashValue: Int { get }
}
extension CLLocationManager {
func startMonitoringVisits()
func stopMonitoringVisits()
} | CVarArg, Equatable, Hashable |
Modified CLLocationManagerDelegate
| Declaration | |
|---|---|
| From | protocol CLLocationManagerDelegate : NSObjectProtocol {
optional func locationManager(_ manager: CLLocationManager, didUpdateToLocation newLocation: CLLocation, fromLocation oldLocation: CLLocation)
optional func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation])
optional func locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading)
optional func locationManagerShouldDisplayHeadingCalibration(_ manager: CLLocationManager) -> Bool
optional func locationManager(_ manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion)
optional func locationManager(_ manager: CLLocationManager, didRangeBeacons beacons: [CLBeacon], inRegion region: CLBeaconRegion)
optional func locationManager(_ manager: CLLocationManager, rangingBeaconsDidFailForRegion region: CLBeaconRegion, withError error: NSError)
optional func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion)
optional func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion)
optional func locationManager(_ manager: CLLocationManager, didFailWithError error: NSError)
optional func locationManager(_ manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError)
optional func locationManager(_ manager: CLLocationManager, didChangeAuthorizationStatus status: CLAuthorizationStatus)
optional func locationManager(_ manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion)
optional func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager)
optional func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager)
optional func locationManager(_ manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?)
optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)
} |
| To | protocol CLLocationManagerDelegate : NSObjectProtocol {
optional func locationManager(_ manager: CLLocationManager, didUpdateTo newLocation: CLLocation, from oldLocation: CLLocation)
optional func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation])
optional func locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading)
optional func locationManagerShouldDisplayHeadingCalibration(_ manager: CLLocationManager) -> Bool
optional func locationManager(_ manager: CLLocationManager, didDetermineState state: CLRegionState, for region: CLRegion)
optional func locationManager(_ manager: CLLocationManager, didRangeBeacons beacons: [CLBeacon], in region: CLBeaconRegion)
optional func locationManager(_ manager: CLLocationManager, rangingBeaconsDidFailFor region: CLBeaconRegion, withError error: Error)
optional func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion)
optional func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion)
optional func locationManager(_ manager: CLLocationManager, didFailWithError error: Error)
optional func locationManager(_ manager: CLLocationManager, monitoringDidFailFor region: CLRegion?, withError error: Error)
optional func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus)
optional func locationManager(_ manager: CLLocationManager, didStartMonitoringFor region: CLRegion)
optional func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager)
optional func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager)
optional func locationManager(_ manager: CLLocationManager, didFinishDeferredUpdatesWithError error: Error?)
optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)
} |
| Declaration | |
|---|---|
| From | optional func locationManager(_ manager: CLLocationManager, didChangeAuthorizationStatus status: CLAuthorizationStatus) |
| To | optional func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) |
| Declaration | |
|---|---|
| From | optional func locationManager(_ manager: CLLocationManager, didFailWithError error: NSError) |
| To | optional func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) |
Modified CLPlacemark
| Declaration | Protocols | |
|---|---|---|
| From | class CLPlacemark : NSObject, NSCopying, NSSecureCoding {
init(placemark placemark: CLPlacemark)
@NSCopying var location: CLLocation? { get }
@NSCopying var region: CLRegion? { get }
@NSCopying var timeZone: NSTimeZone? { get }
var addressDictionary: [NSObject : AnyObject]? { get }
var name: String? { get }
var thoroughfare: String? { get }
var subThoroughfare: String? { get }
var locality: String? { get }
var subLocality: String? { get }
var administrativeArea: String? { get }
var subAdministrativeArea: String? { get }
var postalCode: String? { get }
var ISOcountryCode: String? { get }
var country: String? { get }
var inlandWater: String? { get }
var ocean: String? { get }
var areasOfInterest: [String]? { get }
} | NSCopying, NSSecureCoding |
| To | class CLPlacemark : NSObject, NSCopying, NSSecureCoding {
init(placemark placemark: CLPlacemark)
@NSCopying var location: CLLocation? { get }
@NSCopying var region: CLRegion? { get }
var timeZone: TimeZone? { get }
var addressDictionary: [AnyHashable : Any]? { get }
var name: String? { get }
var thoroughfare: String? { get }
var subThoroughfare: String? { get }
var locality: String? { get }
var subLocality: String? { get }
var administrativeArea: String? { get }
var subAdministrativeArea: String? { get }
var postalCode: String? { get }
var isoCountryCode: String? { get }
var country: String? { get }
var inlandWater: String? { get }
var ocean: String? { get }
var areasOfInterest: [String]? { get }
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CLPlacemark : CVarArg {
}
extension CLPlacemark : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CLPlacemark.addressDictionary
| Declaration | |
|---|---|
| From | var addressDictionary: [NSObject : AnyObject]? { get } |
| To | var addressDictionary: [AnyHashable : Any]? { get } |
Modified CLPlacemark.isoCountryCode
| Declaration | |
|---|---|
| From | var ISOcountryCode: String? { get } |
| To | var isoCountryCode: String? { get } |
Modified CLPlacemark.timeZone
| Declaration | |
|---|---|
| From | @NSCopying var timeZone: NSTimeZone? { get } |
| To | var timeZone: TimeZone? { get } |
Modified CLRegion
| Declaration | Protocols | |
|---|---|---|
| From | class CLRegion : NSObject, NSCopying, NSSecureCoding {
init(circularRegionWithCenter center: CLLocationCoordinate2D, radius radius: CLLocationDistance, identifier identifier: String)
var center: CLLocationCoordinate2D { get }
var radius: CLLocationDistance { get }
var identifier: String { get }
var notifyOnEntry: Bool
var notifyOnExit: Bool
func containsCoordinate(_ coordinate: CLLocationCoordinate2D) -> Bool
} | NSCopying, NSSecureCoding |
| To | class CLRegion : NSObject, NSCopying, NSSecureCoding {
init(circularRegionWithCenter center: CLLocationCoordinate2D, radius radius: CLLocationDistance, identifier identifier: String)
var center: CLLocationCoordinate2D { get }
var radius: CLLocationDistance { get }
var identifier: String { get }
var notifyOnEntry: Bool
var notifyOnExit: Bool
func contains(_ coordinate: CLLocationCoordinate2D) -> Bool
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
func performSelector(inBackground aSelector: Selector, with arg: Any?)
class func classForKeyedUnarchiver() -> AnyClass
var classForKeyedArchiver: AnyClass? { get }
func replacementObject(for archiver: NSKeyedArchiver) -> Any?
class func classFallbacksForKeyedArchiver() -> [String]
class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
class func automaticallyNotifiesObservers(forKey key: String) -> Bool
var observationInfo: UnsafeMutableRawPointer?
func willChangeValue(forKey key: String)
func didChangeValue(forKey key: String)
func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
class var accessInstanceVariablesDirectly: Bool { get }
func value(forKey key: String) -> Any?
func setValue(_ value: Any?, forKey key: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
func mutableArrayValue(forKey key: String) -> NSMutableArray
func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
func mutableSetValue(forKey key: String) -> NSMutableSet
func value(forKeyPath keyPath: String) -> Any?
func setValue(_ value: Any?, forKeyPath keyPath: String)
func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
func value(forUndefinedKey key: String) -> Any?
func setValue(_ value: Any?, forUndefinedKey key: String)
func setNilValueForKey(_ key: String)
func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
func setValuesForKeys(_ keyedValues: [String : Any])
func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
func fileManager(_ fm: FileManager, willProcessPath path: String)
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
class func cancelPreviousPerformRequests(withTarget aTarget: Any)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
var autoContentAccessingProxy: Any { get }
class func version() -> Int
class func setVersion(_ aVersion: Int)
var classForCoder: AnyClass { get }
func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CLRegion : CVarArg {
}
extension CLRegion : Equatable, Hashable {
var hashValue: Int { get }
} | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
| Declaration | |
|---|---|
| From | func containsCoordinate(_ coordinate: CLLocationCoordinate2D) -> Bool |
| To | func contains(_ coordinate: CLLocationCoordinate2D) -> Bool |
Modified CLGeocodeCompletionHandler
| Declaration | |
|---|---|
| From | typealias CLGeocodeCompletionHandler = ([CLPlacemark]?, NSError?) -> Void |
| To | typealias CLGeocodeCompletionHandler = ([CLPlacemark]?, Error?) -> Swift.Void |
Modified CLTimeIntervalMax
| Declaration | |
|---|---|
| From | let CLTimeIntervalMax: NSTimeInterval |
| To | let CLTimeIntervalMax: TimeInterval |