Skip to content

Intents macOS xcode16.0 b4

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

#Intents.framework https://github.com/xamarin/xamarin-macios/pull/20998

diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INAggregatedMessageReaction.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INAggregatedMessageReaction.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INAggregatedMessageReaction.h	2024-06-29 02:18:08
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INAggregatedMessageReaction.h	1969-12-31 19:00:00
@@ -1,35 +0,0 @@
-//
-//  INAggregatedMessageReaction.h
-//  Intents
-//
-//  Copyright (c) 2016-2024 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#import <Intents/INMessageReactionType.h>
-
-@class INPerson;
-
-NS_ASSUME_NONNULL_BEGIN
-
-API_AVAILABLE(ios(18.0), watchos(11.0))
-API_UNAVAILABLE(macos, tvos)
-@interface INAggregatedMessageReaction : NSObject <NSCopying, NSSecureCoding>
-
-- (instancetype)initWithReactionType:(INMessageReactionType)reactionType
-                               emoji:(nullable NSString *)emoji
-                             senders:(nullable NSArray<INPerson *> *)senders
-                       reactionCount:(nullable NSNumber *)reactionCount NS_DESIGNATED_INITIALIZER NS_REFINED_FOR_SWIFT;
-
-@property (readonly, assign, NS_NONATOMIC_IOSONLY) INMessageReactionType reactionType;
-
-@property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) NSString *emoji;
-
-@property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) NSArray<INPerson *> *senders;
-
-@property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) NSNumber *reactionCount NS_REFINED_FOR_SWIFT;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h	2024-06-28 16:50:45
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h	2024-07-12 09:09:27
@@ -11,7 +11,6 @@
 @class INSpeakableString;
 @class INFile;
 @class INMessageLinkMetadata;
-@class INAggregatedMessageReaction;
 @class INMessageReaction;
 @class INSticker;
 
@@ -94,7 +93,7 @@
                             sender:(nullable INPerson *)sender
                         recipients:(nullable NSArray<INPerson *> *)recipients
                          groupName:(nullable INSpeakableString *)groupName
-messageType:(INMessageType)messageType API_DEPRECATED("Use initializer with reaction and aggregatedReactions", ios(17.0, 18.0), macos(14.0, 15.0), watchos(10.0, 11.0))  API_UNAVAILABLE(ios, macos, watchos);
+messageType:(INMessageType)messageType API_DEPRECATED("Use initializer with reaction", ios(17.0, 18.0), macos(14.0, 15.0), watchos(10.0, 11.0))  API_UNAVAILABLE(ios, macos, watchos);
 
 - (instancetype)initWithIdentifier:(NSString *)identifier
             conversationIdentifier:(nullable NSString *)conversationIdentifier
@@ -102,7 +101,7 @@
                           dateSent:(nullable NSDate *)dateSent
                             sender:(nullable INPerson *)sender
                         recipients:(nullable NSArray<INPerson *> *)recipients
-                       messageType:(INMessageType)messageType API_DEPRECATED("Use initializer with reaction and aggregatedReactions", ios(17.0, 18.0), macos(14.0, 15.0), watchos(10.0, 11.0))  API_UNAVAILABLE(ios, macos, watchos);
+                       messageType:(INMessageType)messageType API_DEPRECATED("Use initializer with reaction", ios(17.0, 18.0), macos(14.0, 15.0), watchos(10.0, 11.0))  API_UNAVAILABLE(ios, macos, watchos);
 
 - (instancetype)initWithIdentifier:(NSString *)identifier
                            content:(nullable NSString *)content
@@ -141,8 +140,7 @@
                        serviceName:(nullable NSString *)serviceName
                        messageType:(INMessageType)messageType
                  referencedMessage:(nullable INMessage *)referencedMessage
-                          reaction:(nullable INMessageReaction *)reaction
-               aggregatedReactions:(nullable NSArray<INAggregatedMessageReaction *> *)aggregatedReactions API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macos);
+                          reaction:(nullable INMessageReaction *)reaction API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macos);
 
 - (instancetype)initWithIdentifier:(NSString *)identifier
             conversationIdentifier:(nullable NSString *)conversationIdentifier
@@ -155,8 +153,7 @@
                        messageType:(INMessageType)messageType
                  referencedMessage:(nullable INMessage *)referencedMessage
                            sticker:(nullable INSticker *)sticker
-                          reaction:(nullable INMessageReaction *)reaction
-               aggregatedReactions:(nullable NSArray<INAggregatedMessageReaction *> *)aggregatedReactions NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macos);
+                          reaction:(nullable INMessageReaction *)reaction NS_DESIGNATED_INITIALIZER API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macos);
 
 @property (readonly, copy, NS_NONATOMIC_IOSONLY) NSString *identifier;
 
@@ -185,8 +182,6 @@
 @property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) INMessageLinkMetadata *linkMetadata API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macosx);
 
 @property (readwrite, copy, nullable, NS_NONATOMIC_IOSONLY) INSticker *sticker API_AVAILABLE(ios(18.0), watchos(11.0), macosx(15.0));
-
-@property (readwrite, copy, nullable, NS_NONATOMIC_IOSONLY) NSArray<INAggregatedMessageReaction *> *aggregatedReactions API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macosx);
 
 @property (readwrite, copy, nullable, NS_NONATOMIC_IOSONLY) INMessageReaction *reaction API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macosx);
 
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h	2024-06-29 02:18:06
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h	2024-07-13 05:15:42
@@ -13,7 +13,6 @@
 
 typedef NS_ENUM(NSInteger, INMessageReactionType) {
     INMessageReactionTypeUnknown = 0,
-    INMessageReactionTypeEmojiReaction API_DEPRECATED("", ios(18.0, 18.0), macos(15.0, 15.0), watchos(11.0, 11.0)),
     INMessageReactionTypeEmoji,
     INMessageReactionTypeGeneric,
 } API_AVAILABLE(ios(18.0), macos(15.0), watchos(11.0)) API_UNAVAILABLE(tvos);
diff -ruN /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents_Generated.h /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents_Generated.h
--- /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents_Generated.h	2024-06-28 16:50:34
+++ /Applications/Xcode_16.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents_Generated.h	2024-07-13 05:15:33
@@ -11,7 +11,6 @@
 #import <Intents/INAddMediaMediaItemResolutionResult.h>
 #import <Intents/INAddTasksTargetTaskListResolutionResult.h>
 #import <Intents/INAddTasksTemporalEventTriggerResolutionResult.h>
-#import <Intents/INAggregatedMessageReaction.h>
 #import <Intents/INAirline.h>
 #import <Intents/INAirport.h>
 #import <Intents/INAirportGate.h>
Clone this wiki locally