Skip to content

HomeKit tvOS xcode16.0 b5

Rolf Bjarne Kvinge edited this page Aug 20, 2024 · 3 revisions

#HomeKit.framework https://github.com/xamarin/xamarin-macios/pull/21080

diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessory.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessory.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessory.h	2024-07-13 14:08:05
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessory.h	2024-07-29 01:12:37
@@ -162,6 +165,8 @@
  */
 - (void)identifyWithCompletionHandler:(void (^)(NSError *__nullable error))completion;
 
+- (instancetype)init API_DEPRECATED("HMAccessory objects are created by their parent container objects. Directly creating them is not supported.", ios(8.0, 8.0), watchos(2.0, 2.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
+
 @end
 
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryBrowser.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryBrowser.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryBrowser.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryBrowser.h	2024-07-27 03:35:24
@@ -19,8 +19,13 @@
  * @brief This class is used to discover new accessories in the home
  *        that have never been paired with and therefore not part of the home.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(8.0)) API_UNAVAILABLE(macos, watchos, tvos, macCatalyst)
-    @interface HMAccessoryBrowser : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0))
+API_UNAVAILABLE(macos, watchos, tvos, macCatalyst)
+@interface HMAccessoryBrowser : NSObject
+
+- (instancetype)init;
 
 /*!
  * @brief Delegate that receives updates on the state of the accessories discovered.
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategory.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategory.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategory.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessoryCategory.h	2024-07-27 03:35:24
@@ -14,8 +14,11 @@
 /*!
  * @brief This class is used to represent an accessory category.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMAccessoryCategory : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMAccessoryCategory : NSObject
 
 /*!
  * @brief A type identifier that represents the category.
@@ -26,6 +29,8 @@
  * @brief The localized description of the category.
  */
 @property (readonly, copy) NSString *localizedDescription;
+
+- (instancetype)init NS_UNAVAILABLE;
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h	2024-07-12 08:56:38
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupManager.h	2024-07-27 03:35:23
@@ -18,8 +18,14 @@
  *              of adding one or more accessories to a particular home and follow up with additional setup.
  *              These APIs do not require that the current app has home data authorization
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos, visionos) API_UNAVAILABLE(macos, macCatalyst)
-    @interface HMAccessorySetupManager : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(15.0))
+API_UNAVAILABLE(watchos, tvos, visionos)
+API_UNAVAILABLE(macos, macCatalyst)
+@interface HMAccessorySetupManager : NSObject
+
+- (instancetype)init;
 
 /*!
  *  @abstract   Launch system UI to perform the process of setting up accessories with the given request.
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAccessorySetupRequest.h	2024-07-27 03:35:24
@@ -13,8 +13,14 @@
 @class HMAccessorySetupPayload;
 @class MTRSetupPayload;
 
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(15.4)) API_UNAVAILABLE(watchos, tvos, visionos) API_UNAVAILABLE(macos, macCatalyst)
-    @interface HMAccessorySetupRequest : NSObject<NSCopying>
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(15.4))
+API_UNAVAILABLE(watchos, tvos, visionos)
+API_UNAVAILABLE(macos, macCatalyst)
+@interface HMAccessorySetupRequest : NSObject <NSCopying>
+
+- (instancetype)init;
 
 /*!
  *  @abstract   The payload to use for accessory setup
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAddAccessoryRequest.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAddAccessoryRequest.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAddAccessoryRequest.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMAddAccessoryRequest.h	2024-07-27 03:35:24
@@ -16,8 +16,10 @@
 @class HMAccessorySetupPayload;
 @class HMHome;
 
-HM_EXTERN API_DEPRECATED("No longer supported", ios(13.0, 15.0)) API_UNAVAILABLE(ios, macos, watchos, tvos, macCatalyst)
-    @interface HMAddAccessoryRequest : NSObject
+HM_EXTERN
+API_DEPRECATED("No longer supported", ios(13.0, 15.0))
+API_UNAVAILABLE(ios, macos, watchos, tvos, macCatalyst)
+@interface HMAddAccessoryRequest : NSObject
 
 /*!
  * @brief Home that the accessory is to be added to.
@@ -68,6 +70,8 @@
  * @discussion This method may fail if the setup payload URL is not a valid payload URL.
  */
 - (nullable HMAccessorySetupPayload *)payloadWithURL:(NSURL *)setupPayloadURL ownershipToken:(HMAccessoryOwnershipToken *)ownershipToken NS_SWIFT_NAME(makePayload(url:ownershipToken:));
+
+- (instancetype)init API_DEPRECATED("HMAddAccessoryRequest objects are created by their associated objects. Directly creating them is not supported.", ios(13.0, 13.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraControl.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraControl.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraControl.h	2024-07-12 08:56:40
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraControl.h	2024-07-27 03:35:25
@@ -13,8 +13,13 @@
 /*!
  * @abstract Represents a generic camera control.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCameraControl : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCameraControl : NSObject
+
+- (instancetype)init API_DEPRECATED("HMCameraControl is a base class for other types. Directly creating them is not supported.", ios(10.0, 10.0), watchos(3.0, 3.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshot.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshot.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshot.h	2024-07-12 08:56:38
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshot.h	2024-07-27 03:35:24
@@ -14,13 +14,18 @@
 /*!
  * @abstract Represents a camera snapshot.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCameraSnapshot : HMCameraSource
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCameraSnapshot : HMCameraSource
 
 /*!
  * @brief Time corresponding to the snapshot request.
  */
 @property (readonly, copy, nonatomic) NSDate *captureDate;
+
+- (instancetype)init NS_DESIGNATED_INITIALIZER API_DEPRECATED("HMCameraSnapshot objects are created by their parent container objects. Directly creating them is not supported.", ios(10.0, 10.0), watchos(3.0, 3.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshotControl.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshotControl.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshotControl.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSnapshotControl.h	2024-07-27 03:35:24
@@ -17,8 +17,11 @@
 /*!
  * @abstract This class can be used to take an image snapshot from a camera.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCameraSnapshotControl : HMCameraControl
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCameraSnapshotControl : HMCameraControl
 
 /*!
  * @brief Delegate that receives updates on the camera snapshot changes.
@@ -34,6 +37,8 @@
  * @brief Takes an image snapshot.
  */
 - (void)takeSnapshot;
+
+- (instancetype)init API_DEPRECATED("HMCameraSnapshotControl objects are created by their parent container objects. Directly creating them is not supported.", ios(10.0, 10.0), watchos(3.0, 3.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSource.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSource.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSource.h	2024-07-12 08:56:38
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraSource.h	2024-07-27 03:35:23
@@ -24,6 +24,8 @@
  */
 @property (readonly) double aspectRatio API_AVAILABLE(ios(14.5), watchos(7.4), tvos(14.5), macos(11.3));
 
+- (instancetype)init NS_DESIGNATED_INITIALIZER API_DEPRECATED("HMCameraSource is a base class for other types. Directly creating them is not supported.", ios(10.0, 10.0), watchos(3.0, 3.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
+
 @end
 
 NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStream.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStream.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStream.h	2024-07-12 08:56:38
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStream.h	2024-07-27 03:35:24
@@ -15,8 +15,11 @@
 /*!
  * @abstract Represents a camera stream.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCameraStream : HMCameraSource
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCameraStream : HMCameraSource
 
 /*!
  * @brief Represents the audio setting for the current stream.
@@ -41,6 +44,8 @@
  *                   will be nil on success.
  */
 - (void)updateAudioStreamSetting:(HMCameraAudioStreamSetting)audioStreamSetting completionHandler:(void (^)(NSError *__nullable error))completion API_AVAILABLE(tvos(14.5));
+
+- (instancetype)init NS_DESIGNATED_INITIALIZER API_DEPRECATED("HMCameraStream objects are created by their parent container objects. Directly creating them is not supported.", ios(10.0, 10.0), watchos(3.0, 3.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStreamControl.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStreamControl.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStreamControl.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraStreamControl.h	2024-07-27 03:35:24
@@ -19,8 +19,11 @@
 /*!
  * @abstract This class can be used to control the stream from a camera.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCameraStreamControl : HMCameraControl
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(10.0), watchos(3.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCameraStreamControl : HMCameraControl
 
 /*!
  * @brief Delegate that receives updates on the camera stream changes.
@@ -47,6 +50,8 @@
  * @brief Stops the camera stream.
  * */
 - (void)stopStream;
+
+- (instancetype)init API_DEPRECATED("HMCameraStreamControl objects are created by their parent container objects. Directly creating them is not supported.", ios(10.0, 10.0), watchos(3.0, 3.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraView.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraView.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraView.h	2024-07-12 08:56:38
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCameraView.h	2024-07-27 03:35:23
@@ -25,6 +25,8 @@
 API_UNAVAILABLE(watchos)
 @interface HMCameraView : UIView
 
+- (instancetype)init;
+
 /*!
  * @brief Represents the camera source.
  */
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristic.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristic.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristic.h	2024-07-12 13:59:47
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristic.h	2024-07-29 00:13:42
@@ -18,8 +18,11 @@
 /*!
  * @brief Represent a characteristic on a service of an accessory.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCharacteristic : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCharacteristic : NSObject
 
 /*!
  * @brief The type of the characteristic, e.g. HMCharacteristicTypePowerState.
@@ -117,6 +120,8 @@
  *                   will be nil on success.
  */
 - (void)updateAuthorizationData:(nullable NSData *)data completionHandler:(void (^)(NSError *__nullable error))completion API_UNAVAILABLE(watchos, tvos);
+
+- (instancetype)init API_DEPRECATED("HMCharacteristic objects are created by their parent container objects. Directly creating them is not supported.", ios(8.0, 8.0), watchos(2.0, 2.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicMetadata.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicMetadata.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicMetadata.h	2024-07-12 14:04:19
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMCharacteristicMetadata.h	2024-07-27 04:02:12
@@ -15,8 +15,13 @@
  *		  further information about a characteristic’s value, which can be used
  * 		  for presentation purposes.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMCharacteristicMetadata : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMCharacteristicMetadata : NSObject
+
+- (instancetype)init;
 
 /*!
  * @brief The minimum value for the characteristic if it has a format of "int" or "float".
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeAccessControl.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeAccessControl.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeAccessControl.h	2024-07-12 08:56:40
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeAccessControl.h	2024-07-27 03:35:25
@@ -13,13 +13,18 @@
 /*!
  * @brief Represents the access control of a user associated with a home.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMHomeAccessControl : HMAccessControl
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(9.0), watchos(2.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMHomeAccessControl : HMAccessControl
 
 /*!
  * @brief Specifies if the user has administrative privileges for the home.
  */
 @property (readonly, getter=isAdministrator, nonatomic) BOOL administrator;
+
+- (instancetype)init NS_UNAVAILABLE;
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeManager.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeManager.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeManager.h	2024-07-13 14:08:05
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMHomeManager.h	2024-07-27 01:39:54
@@ -33,8 +33,13 @@
  *
  *  @discussion This class is responsible for managing a collection of homes.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMHomeManager : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMHomeManager : NSObject
+
+- (instancetype)init;
 
 /*!
  *  @abstract   Delegate that receives updates on the collection of homes.
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMNetworkConfigurationProfile.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMNetworkConfigurationProfile.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMNetworkConfigurationProfile.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMNetworkConfigurationProfile.h	2024-07-27 03:35:24
@@ -14,8 +14,11 @@
 
 @protocol HMNetworkConfigurationProfileDelegate;
 
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(13.0), watchos(6.0), tvos(13.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMNetworkConfigurationProfile : HMAccessoryProfile
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(13.0), watchos(6.0), tvos(13.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMNetworkConfigurationProfile : HMAccessoryProfile
 
 /*!
  *  @abstract   The delegate of the receiver.
@@ -26,6 +29,8 @@
  *  @abstract   Indicates if the associated accessory's access to the network is restricted.
  */
 @property (nonatomic, readonly, assign, getter=isNetworkAccessRestricted) BOOL networkAccessRestricted;
+
+- (instancetype)init NS_UNAVAILABLE;
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMService.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMService.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMService.h	2024-07-12 17:23:48
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMService.h	2024-07-27 04:04:26
@@ -20,8 +20,11 @@
  *             A service is composed of one or more characteristics that can be 
  *             modified.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMService : NSObject
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(8.0), watchos(2.0), tvos(10.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMService : NSObject
 
 /*!
  * @brief Accessory that provides this service.
@@ -128,6 +131,8 @@
  *                   will be nil on success.
  */
 - (void)updateAssociatedServiceType:(nullable NSString *)serviceType completionHandler:(void (^)(NSError *__nullable error))completion API_UNAVAILABLE(watchos, tvos);
+
+- (instancetype)init API_DEPRECATED("HMService objects are created by their parent container objects. Directly creating them is not supported.", ios(8.0, 8.0), watchos(2.0, 2.0), tvos(10.0, 10.0), macCatalyst(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMSignificantTimeEvent.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMSignificantTimeEvent.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMSignificantTimeEvent.h	2024-07-12 08:56:39
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMSignificantTimeEvent.h	2024-07-27 03:35:24
@@ -22,7 +22,7 @@
  *
  * @param significantEvent The significant event for the trigger.
  *
- * @param offset An offset from the time of the signficant event. To specify an offset before the significant event, the
+ * @param offset An offset from the time of the significant event. To specify an offset before the significant event, the
  *               properties of the NSDateComponents must be negative value. e.g. To specify 30 mins before sunset, the
  *               'minute' property must be set to -30.
  *
@@ -58,7 +58,7 @@
 @property (readwrite, strong, nonatomic) HMSignificantEvent significantEvent;
 
 /*!
- * @brief offset An offset from the time of the signficant event. To specify an offset before the significant event, the
+ * @brief offset An offset from the time of the significant event. To specify an offset before the significant event, the
  *               properties of the NSDateComponents must be negative value. e.g. To specify 30 mins before sunset, the
  *               'minute' property must be set to -30.
  */
diff -ruN /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMTimeEvent.h /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMTimeEvent.h
--- /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMTimeEvent.h	2024-07-12 08:56:40
+++ /Applications/Xcode_16.0.0-beta5.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/HomeKit.framework/Headers/HMTimeEvent.h	2024-07-27 03:35:25
@@ -13,8 +13,11 @@
 /*!
  * @brief This class is used to represent a generic time event.
  */
-HM_EXTERN NS_SWIFT_SENDABLE API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0), macCatalyst(14.0)) API_UNAVAILABLE(macos)
-    @interface HMTimeEvent : HMEvent
+HM_EXTERN
+NS_SWIFT_SENDABLE
+API_AVAILABLE(ios(11.0), watchos(4.0), tvos(11.0), macCatalyst(14.0))
+API_UNAVAILABLE(macos)
+@interface HMTimeEvent : HMEvent
 
 @end
 
Clone this wiki locally