Skip to content

Intents iOS xcode16.2 b2

Alex Soto edited this page Nov 6, 2024 · 1 revision

#Intents.framework

diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h	2024-10-09 23:37:16
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessage.h	2024-10-26 02:36:18
@@ -43,8 +43,14 @@
     INMessageTypeActivitySnippet API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macosx),
     INMessageTypeFile API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macosx),
     INMessageTypeLink API_AVAILABLE(ios(12.0), watchos(5.0)) API_UNAVAILABLE(macosx),
+
+    /// The message contains a reaction to another message.
     INMessageTypeReaction API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macosx),
+    
+    /// Media content containing an animated image, such as a GIF.
     INMessageTypeMediaAnimatedImage API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macosx),
+
+    /// The message contains an attachment from a third party application.
     INMessageTypeThirdPartyAttachment API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macosx),
 } API_AVAILABLE(ios(11.0), watchos(4.0)) API_UNAVAILABLE(macosx, tvos);
 
@@ -142,6 +148,22 @@
                  referencedMessage:(nullable INMessage *)referencedMessage
                           reaction:(nullable INMessageReaction *)reaction API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macos);
 
+
+/// Creates a message that includes a reaction and references the original message for the reaction.
+///
+/// - Parameters:
+///   - identifier: The message’s unique identifier.
+///   - conversationIdentifier: The identifier of the conversation that contains this message.
+///   - content: The text that Siri recites to the message recipient.
+///   - dateSent: The date and time the app sent the message to each recipient.
+///   - sender: The person who sent the message.
+///   - recipients: The people who received the message.
+///   - groupName: The name of the group conversation.
+///   - serviceName: The name of the service that delivers the message.
+///   - messageType: The type of content the message contains.
+///   - referencedMessage: The referenced message that received a reaction if the message object itself was a reaction.
+///   - sticker: The sticker that this message contains.
+///   - reaction: The message reaction that this message contains.
 - (instancetype)initWithIdentifier:(NSString *)identifier
             conversationIdentifier:(nullable NSString *)conversationIdentifier
                            content:(nullable NSString *)content
@@ -181,8 +203,10 @@
 
 @property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) INMessageLinkMetadata *linkMetadata API_AVAILABLE(ios(17.0), watchos(10.0)) API_UNAVAILABLE(macosx);
 
+/// The sticker that this message contains.
 @property (readwrite, copy, nullable, NS_NONATOMIC_IOSONLY) INSticker *sticker API_AVAILABLE(ios(18.0), watchos(11.0), macosx(15.0));
 
+/// The message reaction that this message contains.
 @property (readwrite, copy, nullable, NS_NONATOMIC_IOSONLY) INMessageReaction *reaction API_AVAILABLE(ios(18.0), watchos(11.0)) API_UNAVAILABLE(macosx);
 
 @end
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReaction.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReaction.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReaction.h	2024-10-08 00:44:27
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReaction.h	2024-10-30 00:37:01
@@ -11,18 +11,27 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+/// An object that describes a reaction to a message.
 API_AVAILABLE(ios(18.0), macos(15.0), watchos(11.0))
 API_UNAVAILABLE(tvos)
 @interface INMessageReaction : NSObject <NSCopying, NSSecureCoding>
 
+/// Creates an INMessageReaction
+///
+/// - Parameters:
+///   - reactionType: The type of message reaction.
+///   - reactionDescription: Text that describes the reaction.
+///   - emoji: The single emoji character used for an emoji reaction.
 - (instancetype)initWithReactionType:(INMessageReactionType)reactionType
                  reactionDescription:(nullable NSString *)reactionDescription
                                emoji:(nullable NSString *)emoji NS_DESIGNATED_INITIALIZER;
 
+/// The type of reaction.
 @property (readonly, assign, NS_NONATOMIC_IOSONLY) INMessageReactionType reactionType;
 
 @property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) NSString *reactionDescription;
 
+/// The emoji used to react.
 @property (readonly, copy, nullable, NS_NONATOMIC_IOSONLY) NSString *emoji;
 
 @end
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h	2024-10-08 00:44:19
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INMessageReactionType.h	2024-10-30 00:36:52
@@ -11,6 +11,7 @@
 #import <Foundation/Foundation.h>
 #import <Intents/IntentsDefines.h>
 
+/// Constants that describe the type of the message reaction.
 typedef NS_ENUM(NSInteger, INMessageReactionType) {
     INMessageReactionTypeUnknown = 0,
     INMessageReactionTypeEmoji,
diff -ruN /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INSticker.h /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INSticker.h
--- /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INSticker.h	2024-10-08 00:44:25
+++ /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Intents.framework/Headers/INSticker.h	2024-10-30 00:36:59
@@ -11,10 +11,16 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+/// An object that describes a sticker someone sends in a message.
 API_AVAILABLE(ios(18.0), macos(15.0), watchos(11.0))
 API_UNAVAILABLE(tvos)
 @interface INSticker : NSObject <NSCopying, NSSecureCoding>
 
+/// Creates an object that represents a sticker a person sends in a message.
+///
+/// - Parameters:
+///   - type: The type of the sticker.
+///   - emoji: The single emoji character that the sticker represents.
 - (instancetype)initWithType:(INStickerType)type
                        emoji:(nullable NSString *)emoji NS_DESIGNATED_INITIALIZER;
 
Clone this wiki locally