CoreLocation Changes for Swift
CoreLocation
Removed CLHeading.description
Removed CLLocation.description
Added CLError [struct]
Added CLError.alternateRegion
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
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 } } |
Modified CLAuthorizationStatus.authorized
Declaration | |
---|---|
From | static var Authorized: CLAuthorizationStatus { get } |
To | 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 CLBeacon
Declaration | Protocols | |
---|---|---|
From | class CLBeacon : NSObject, NSCopying, NSSecureCoding { var proximityUUID: NSUUID { get } var major: NSNumber { get } var minor: NSNumber { get } var proximity: CLProximity { get } var accuracy: CLLocationAccuracy { get } var rssi: Int { get } } | NSCopying, NSSecureCoding |
To | class CLBeacon : NSObject, NSCopying, NSSecureCoding { var proximityUUID: UUID { get } @NSCopying var major: NSNumber { get } @NSCopying var minor: NSNumber { get } var proximity: CLProximity { get } var accuracy: CLLocationAccuracy { get } var rssi: 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 CLBeacon : CVarArg { } extension CLBeacon : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CLBeacon.major
Declaration | |
---|---|
From | var major: NSNumber { get } |
To | @NSCopying var major: NSNumber { get } |
Modified CLBeacon.minor
Declaration | |
---|---|
From | var minor: NSNumber { get } |
To | @NSCopying var minor: NSNumber { get } |
Modified CLBeacon.proximityUUID
Declaration | |
---|---|
From | var proximityUUID: NSUUID { get } |
To | var proximityUUID: UUID { get } |
Modified CLBeaconRegion
Declaration | |
---|---|
From | class CLBeaconRegion : CLRegion { init(proximityUUID proximityUUID: NSUUID, identifier identifier: String) init(proximityUUID proximityUUID: NSUUID, major major: CLBeaconMajorValue, identifier identifier: String) init(proximityUUID proximityUUID: NSUUID, major major: CLBeaconMajorValue, minor minor: CLBeaconMinorValue, identifier identifier: String) func peripheralDataWithMeasuredPower(_ measuredPower: NSNumber?) -> NSMutableDictionary var proximityUUID: NSUUID { get } var major: NSNumber? { get } var minor: NSNumber? { get } var notifyEntryStateOnDisplay: Bool } |
To | class CLBeaconRegion : CLRegion { init(proximityUUID proximityUUID: UUID, identifier identifier: String) init(proximityUUID proximityUUID: UUID, major major: CLBeaconMajorValue, identifier identifier: String) init(proximityUUID proximityUUID: UUID, major major: CLBeaconMajorValue, minor minor: CLBeaconMinorValue, identifier identifier: String) func peripheralData(withMeasuredPower measuredPower: NSNumber?) -> NSMutableDictionary var proximityUUID: UUID { get } @NSCopying var major: NSNumber? { get } @NSCopying var minor: NSNumber? { get } var notifyEntryStateOnDisplay: Bool } |
Declaration | |
---|---|
From | init(proximityUUID proximityUUID: NSUUID, identifier identifier: String) |
To | init(proximityUUID proximityUUID: UUID, identifier identifier: String) |
Declaration | |
---|---|
From | init(proximityUUID proximityUUID: NSUUID, major major: CLBeaconMajorValue, identifier identifier: String) |
To | init(proximityUUID proximityUUID: UUID, major major: CLBeaconMajorValue, identifier identifier: String) |
Declaration | |
---|---|
From | init(proximityUUID proximityUUID: NSUUID, major major: CLBeaconMajorValue, minor minor: CLBeaconMinorValue, identifier identifier: String) |
To | init(proximityUUID proximityUUID: UUID, major major: CLBeaconMajorValue, minor minor: CLBeaconMinorValue, identifier identifier: String) |
Modified CLBeaconRegion.major
Declaration | |
---|---|
From | var major: NSNumber? { get } |
To | @NSCopying var major: NSNumber? { get } |
Modified CLBeaconRegion.minor
Declaration | |
---|---|
From | var minor: NSNumber? { get } |
To | @NSCopying var minor: NSNumber? { get } |
Declaration | |
---|---|
From | func peripheralDataWithMeasuredPower(_ measuredPower: NSNumber?) -> NSMutableDictionary |
To | func peripheralData(withMeasuredPower measuredPower: NSNumber?) -> NSMutableDictionary |
Modified CLBeaconRegion.proximityUUID
Declaration | |
---|---|
From | var proximityUUID: NSUUID { get } |
To | var proximityUUID: UUID { get } |
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 | iOS 8.0 |
To | case deferredAccuracyTooLow | iOS 10.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 | iOS 8.0 |
To | case headingFailure | iOS 10.0 |
Modified CLError.Code.locationUnknown
Declaration | |
---|---|
From | case LocationUnknown |
To | case locationUnknown |
Modified CLError.Code.network
Declaration | Introduction | |
---|---|---|
From | case Network | iOS 8.0 |
To | case network | iOS 10.0 |
Modified CLError.Code.rangingFailure
Declaration | Introduction | |
---|---|---|
From | case RangingFailure | iOS 8.0 |
To | case rangingFailure | iOS 10.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 CLHeading
Declaration | Protocols | |
---|---|---|
From | class CLHeading : NSObject, NSCopying, NSSecureCoding { var magneticHeading: CLLocationDirection { get } var trueHeading: CLLocationDirection { get } var headingAccuracy: CLLocationDirection { get } var x: CLHeadingComponentValue { get } var y: CLHeadingComponentValue { get } var z: CLHeadingComponentValue { get } @NSCopying var timestamp: NSDate { get } var description: String { get } } | NSCopying, NSSecureCoding |
To | class CLHeading : NSObject, NSCopying, NSSecureCoding { var magneticHeading: CLLocationDirection { get } var trueHeading: CLLocationDirection { get } var headingAccuracy: CLLocationDirection { get } var x: CLHeadingComponentValue { get } var y: CLHeadingComponentValue { get } var z: CLHeadingComponentValue { get } var timestamp: Date { 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 CLHeading : CVarArg { } extension CLHeading : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CLHeading.timestamp
Declaration | |
---|---|
From | @NSCopying var timestamp: NSDate { get } |
To | var timestamp: Date { get } |
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 } extension CLLocation : CKRecordValue { } | CKRecordValue, 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 |
Declaration | |
---|---|
From | func allowDeferredLocationUpdatesUntilTraveled(_ distance: CLLocationDistance, timeout timeout: NSTimeInterval) |
To | func allowDeferredLocationUpdates(untilTraveled distance: CLLocationDistance, timeout timeout: TimeInterval) |
Declaration | |
---|---|
From | class func isMonitoringAvailableForClass(_ regionClass: AnyClass) -> Bool |
To | class func isMonitoringAvailable(for regionClass: Swift.AnyClass) -> Bool |
Declaration | |
---|---|
From | func requestStateForRegion(_ region: CLRegion) |
To | func requestState(for region: CLRegion) |
Declaration | |
---|---|
From | func startMonitoringForRegion(_ region: CLRegion) |
To | func startMonitoring(for region: CLRegion) |
Declaration | |
---|---|
From | func startRangingBeaconsInRegion(_ region: CLBeaconRegion) |
To | func startRangingBeacons(in region: CLBeaconRegion) |
Declaration | |
---|---|
From | func stopMonitoringForRegion(_ region: CLRegion) |
To | func stopMonitoring(for region: CLRegion) |
Declaration | |
---|---|
From | func stopRangingBeaconsInRegion(_ region: CLBeaconRegion) |
To | func stopRangingBeacons(in region: CLBeaconRegion) |
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, didDetermineState state: CLRegionState, forRegion region: CLRegion) |
To | optional func locationManager(_ manager: CLLocationManager, didDetermineState state: CLRegionState, for region: CLRegion) |
Declaration | |
---|---|
From | optional func locationManager(_ manager: CLLocationManager, didFailWithError error: NSError) |
To | optional func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) |
Declaration | |
---|---|
From | optional func locationManager(_ manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) |
To | optional func locationManager(_ manager: CLLocationManager, didFinishDeferredUpdatesWithError error: Error?) |
Declaration | |
---|---|
From | optional func locationManager(_ manager: CLLocationManager, didRangeBeacons beacons: [CLBeacon], inRegion region: CLBeaconRegion) |
To | optional func locationManager(_ manager: CLLocationManager, didRangeBeacons beacons: [CLBeacon], in region: CLBeaconRegion) |
Modified CLLocationManagerDelegate.locationManager(_: CLLocationManager, didStartMonitoringFor: CLRegion)
Declaration | |
---|---|
From | optional func locationManager(_ manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) |
To | optional func locationManager(_ manager: CLLocationManager, didStartMonitoringFor region: CLRegion) |
Declaration | |
---|---|
From | optional func locationManager(_ manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) |
To | optional func locationManager(_ manager: CLLocationManager, monitoringDidFailFor region: CLRegion?, withError error: Error) |
Declaration | |
---|---|
From | optional func locationManager(_ manager: CLLocationManager, rangingBeaconsDidFailForRegion region: CLBeaconRegion, withError error: NSError) |
To | optional func locationManager(_ manager: CLLocationManager, rangingBeaconsDidFailFor region: CLBeaconRegion, withError 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 } } extension CLPlacemark { convenience init(location location: CLLocation, name name: String?, postalAddress postalAddress: CNPostalAddress?) class func withLocation(_ location: CLLocation, name name: String?, postalAddress postalAddress: CNPostalAddress?) -> Self } | 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 CLProximity [enum]
Declaration | |
---|---|
From | enum CLProximity : Int { case Unknown case Immediate case Near case Far } |
To | enum CLProximity : Int { case unknown case immediate case near case far } |
Modified CLProximity.far
Declaration | |
---|---|
From | case Far |
To | case far |
Modified CLProximity.immediate
Declaration | |
---|---|
From | case Immediate |
To | case immediate |
Modified CLProximity.near
Declaration | |
---|---|
From | case Near |
To | case near |
Modified CLProximity.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
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 |
Modified CLRegionState [enum]
Declaration | |
---|---|
From | enum CLRegionState : Int { case Unknown case Inside case Outside } |
To | enum CLRegionState : Int { case unknown case inside case outside } |
Modified CLRegionState.inside
Declaration | |
---|---|
From | case Inside |
To | case inside |
Modified CLRegionState.outside
Declaration | |
---|---|
From | case Outside |
To | case outside |
Modified CLRegionState.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified CLVisit
Declaration | Protocols | |
---|---|---|
From | class CLVisit : NSObject, NSSecureCoding, NSCopying { @NSCopying var arrivalDate: NSDate { get } @NSCopying var departureDate: NSDate { get } var coordinate: CLLocationCoordinate2D { get } var horizontalAccuracy: CLLocationAccuracy { get } } | NSCopying, NSSecureCoding |
To | class CLVisit : NSObject, NSSecureCoding, NSCopying { var arrivalDate: Date { get } var departureDate: Date { get } var coordinate: CLLocationCoordinate2D { get } var horizontalAccuracy: CLLocationAccuracy { 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 CLVisit : CVarArg { } extension CLVisit : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified CLVisit.arrivalDate
Declaration | |
---|---|
From | @NSCopying var arrivalDate: NSDate { get } |
To | var arrivalDate: Date { get } |
Modified CLVisit.departureDate
Declaration | |
---|---|
From | @NSCopying var departureDate: NSDate { get } |
To | var departureDate: Date { get } |
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 |