-
Notifications
You must be signed in to change notification settings - Fork 516
CoreMotion macOS xcode13.0 rc
Alex Soto edited this page Sep 14, 2021
·
1 revision
#CoreMotion.framework
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAbsoluteAltitude.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAbsoluteAltitude.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAbsoluteAltitude.h 2021-08-07 05:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAbsoluteAltitude.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,48 +0,0 @@
-/*
-* CMAbsoluteAltitude.h
-* CoreMotion
-*
-* Copyright (c) 2020 Apple Inc. All rights reserved.
-*
-*/
-
-#import <Foundation/Foundation.h>
-#import <CoreMotion/CMLogItem.h>
-#import <CoreMotion/CMAvailability.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-COREMOTION_EXPORT
-API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(macos, tvos)
-@interface CMAbsoluteAltitudeData : CMLogItem
-
-/*
- * altitude
- *
- * Discussion:
- * The absolute altitude of the device in meters relative to sea level; could be positive or negative.
- *
- */
-@property(readonly, nonatomic) double altitude;
-
-/*
- * accuracy
- *
- * Discussion:
- * The accuracy of the altitude estimate, in meters.
- *
- */
-@property(readonly, nonatomic) double accuracy;
-
-/*
- * precision
- *
- * Discussion:
- * The precision of the altitude estimate, in meters.
- *
- */
-@property(readonly, nonatomic) double precision;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h 2021-08-07 05:19:57.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h 2021-08-03 21:48:28.000000000 -0400
@@ -10,7 +10,6 @@
#import <CoreMotion/CMAltitude.h>
#import <CoreMotion/CMAvailability.h>
#import <CoreMotion/CMAuthorization.h>
-#import <CoreMotion/CMAbsoluteAltitude.h>
NS_ASSUME_NONNULL_BEGIN
@@ -23,15 +22,6 @@
typedef void (^CMAltitudeHandler)(CMAltitudeData * __nullable altitudeData, NSError * __nullable error) API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos);
/*
- * CMAbsoluteAltitudeHandler
- *
- * Discussion:
- * Typedef of block to be invoked when the device's absolute altitude is updated.
- */
-typedef void (^CMAbsoluteAltitudeHandler)(CMAbsoluteAltitudeData *__nullable altitudeData, NSError *__nullable error) API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(macos, tvos);
-
-
-/*
* CMAltimeter
*
* Discussion:
@@ -77,33 +67,6 @@
*/
- (void)stopRelativeAltitudeUpdates;
-/*
- * isAbsoluteAltitudeAvailable
- *
- * Discussion:
- * Determines whether the device supports reporting the absolute altitude.
- */
-+ (BOOL)isAbsoluteAltitudeAvailable API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(macos, tvos);
-
-/*
- * startAbsoluteAltitudeUpdatesToQueue:withHandler:
- *
- * Discussion:
- * Starts real-time absolute altitude updates, providing data to the given handler on the given queue, whenever a change in elevation is detected.
- *
- * Calls to start must be balanced with calls to stopAbsoluteAltitudeUpdates even if an error
- * is returned to the handler.
- */
-
-- (void)startAbsoluteAltitudeUpdatesToQueue:(NSOperationQueue *)queue withHandler:(CMAbsoluteAltitudeHandler)handler API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(macos, tvos);
-/*
- * stopAbsoluteAltitudeUpdates
- *
- * Discussion:
- * Stops absolute altitude updates.
- */
-- (void)stopAbsoluteAltitudeUpdates API_AVAILABLE(ios(15.0), watchos(8.0)) API_UNAVAILABLE(macos, tvos);
-
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMErrorDomain.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMErrorDomain.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMErrorDomain.h 2021-08-07 05:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMErrorDomain.h 2021-08-03 21:48:28.000000000 -0400
@@ -16,6 +16,6 @@
* Discussion:
* Error returned as the domain to NSError from CoreMotion.
*/
-CM_EXTERN NSString *const CMErrorDomain API_AVAILABLE(macos(12.0), ios(4.0));
+CM_EXTERN NSString *const CMErrorDomain API_AVAILABLE(ios(4.0));
NS_ASSUME_NONNULL_END
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status