Skip to content

NearbyInteraction macOS xcode27.0 b2

Alex Soto edited this page Jun 23, 2026 · 1 revision

#NearbyInteraction.framework

diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIBody.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIBody.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIBody.h	1969-12-31 19:00:00
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIBody.h	2026-06-12 10:27:46
@@ -0,0 +1,32 @@
+//
+//  NIBody.h
+//  NearbyInteraction
+//
+//  Copyright © 2026 Apple Inc. All rights reserved.
+//
+
+#if __has_include(<AppleFeatures/AppleFeatures.h>)
+#import <AppleFeatures/AppleFeatures.h>
+#endif
+
+#if APPLE_FEATURE_NIBODY
+#import <Foundation/Foundation.h>
+#import <NearbyInteraction/NIExport.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/**
+ A protocol for objects that represent an identifiable physical body.
+
+ @discussion Conform to this protocol to provide an object that can be set as the
+             origin body of an NISession. The origin body identifies the physical
+             body associated with the local device running the session.
+ */
+API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, macos, tvos, visionos)
+NI_EXPORT
+@protocol NIBodyIdentifiable <NSObject>
+
+@end
+
+NS_ASSUME_NONNULL_END
+#endif // APPLE_FEATURE_NIBODY
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIDLTDOAMeasurement.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIDLTDOAMeasurement.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIDLTDOAMeasurement.h	2026-05-29 23:44:48
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NIDLTDOAMeasurement.h	2026-06-16 03:05:20
@@ -39,7 +39,7 @@
 NS_SWIFT_NAME(NIDLTDOAMeasurement.FloorElevation)
 API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, tvos, macos, visionos, macCatalyst)
 NI_EXPORT
-@interface NIDLTDOAMeasurementFloorElevation : NSObject <NSCopying, NSSecureCoding>
+@interface NIDLTDOAMeasurementFloorElevation : NSObject <NSCopying>
 /**
  Indicates the floor number relative to ground level.  Negative values indicate floors below ground level; positive values indicate floors above.
 */
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h	2026-05-29 23:00:34
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NISession.h	2026-06-12 10:27:46
@@ -5,8 +5,14 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#if __has_include(<AppleFeatures/AppleFeatures.h>)
+#import <AppleFeatures/AppleFeatures.h>
+#endif
 #import <Foundation/Foundation.h>
 #import <NearbyInteraction/NIAlgorithmConvergenceStatusReason.h>
+#if APPLE_FEATURE_NIBODY
+#import <NearbyInteraction/NIBody.h>
+#endif // APPLE_FEATURE_NIBODY
 #import <NearbyInteraction/NIConfiguration.h>
 #import <NearbyInteraction/NIDeviceCapability.h>
 #import <NearbyInteraction/NIExport.h>
@@ -66,6 +72,13 @@
  The nearby interaction configuration currently being used by the session.
  */
 @property (nonatomic, copy, nullable, readonly) NIConfiguration *configuration;
+
+#if APPLE_FEATURE_NIBODY
+/**
+ The body associated with the device where solution from this session such as horizontal angle will be originated from.
+ */
+@property (nonatomic, strong, nullable) id<NIBodyIdentifiable> originBody API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(watchos, macos, tvos, visionos);
+#endif // APPLE_FEATURE_NIBODY
 
 /**
  Start a nearby interaction session.
diff -ruN /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NearbyInteraction.h /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NearbyInteraction.h
--- /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NearbyInteraction.h	2026-05-29 23:12:53
+++ /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/NearbyInteraction.framework/Headers/NearbyInteraction.h	2026-06-12 10:27:46
@@ -5,9 +5,16 @@
 //  Copyright © 2020 Apple Inc. All rights reserved.
 //
 
+#if __has_include(<AppleFeatures/AppleFeatures.h>)
+#import <AppleFeatures/AppleFeatures.h>
+#endif
+
 #import <NearbyInteraction/NIError.h>
 
 #import <NearbyInteraction/NIAlgorithmConvergenceStatusReason.h>
+#if APPLE_FEATURE_NIBODY
+#import <NearbyInteraction/NIBody.h>
+#endif // APPLE_FEATURE_NIBODY
 #import <NearbyInteraction/NIConfiguration.h>
 #import <NearbyInteraction/NIDeviceCapability.h>
 #import <NearbyInteraction/NINearbyObject.h>

Clone this wiki locally