Skip to content

Intents macOS xcode13.2 b1

Alex Soto edited this page Dec 6, 2021 · 3 revisions

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

diff -ruN /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INFile.h /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INFile.h
--- /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INFile.h	2021-09-18 08:43:21.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INFile.h	2021-10-22 20:11:59.000000000 -0400
@@ -46,6 +46,11 @@
  */
 @property (nullable, readonly, strong, NS_NONATOMIC_IOSONLY) NSURL *fileURL;
 
+/**
+ Indicates whether the file should be automatically deleted from disk when the Shortcut is done running. `false` by default.
+ */
+@property (assign, NS_NONATOMIC_IOSONLY) BOOL removedOnCompletion API_AVAILABLE(ios(15.1), macos(12.0), watchos(8.1));
+
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INSearchForPhotosIntent.h /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INSearchForPhotosIntent.h
--- /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INSearchForPhotosIntent.h	2021-09-10 05:44:21.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/INSearchForPhotosIntent.h	2021-10-22 20:28:19.000000000 -0400
@@ -123,7 +123,7 @@
                             withCompletion:(void (^)(INStringResolutionResult *resolutionResult))completion NS_SWIFT_NAME(resolveAlbumName(for:with:));
 
 - (void)resolveSearchTermsForSearchForPhotos:(INSearchForPhotosIntent *)intent
-                              withCompletion:(void (^)(NSArray<INStringResolutionResult *> *resolutionResults))completion NS_SWIFT_NAME(resolveSearchTerms(for:with:)) API_AVAILABLE(ios(11.0), watchos(4.0)) API_UNAVAILABLE(macos) API_DEPRECATED("", ios(10.0, 15.0), watchos(3.2, 8.0)) API_UNAVAILABLE(macos);
+                              withCompletion:(void (^)(NSArray<INStringResolutionResult *> *resolutionResults))completion NS_SWIFT_NAME(resolveSearchTerms(for:with:)) API_DEPRECATED("", ios(11.0, 15.0), watchos(4.0, 8.0)) API_UNAVAILABLE(macos);
 
 - (void)resolvePeopleInPhotoForSearchForPhotos:(INSearchForPhotosIntent *)intent
                                 withCompletion:(void (^)(NSArray<INPersonResolutionResult *> *resolutionResults))completion NS_SWIFT_NAME(resolvePeopleInPhoto(for:with:));
diff -ruN /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents.apinotes /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents.apinotes
--- /Applications/Xcode_13.1.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents.apinotes	2021-08-19 00:04:14.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Intents.framework/Headers/Intents.apinotes	2021-10-20 04:47:15.000000000 -0400
@@ -52,6 +52,17 @@
     - Selector: 'resolveSignalsForActivateCarSignal:withCompletion:'
       MethodKind: Instance
       SwiftName: 'resolveSignals(forActivateCarSignal:with:)'
+  - Name: INAddCallParticipantIntentHandling
+    Methods:
+    - Selector: 'confirmAddCallParticipant:completion:'
+      MethodKind: Instance
+      SwiftName: 'confirm(addCallParticipant:completion:)'
+    - Selector: 'handleAddCallParticipant:completion:'
+      MethodKind: Instance
+      SwiftName: 'handle(addCallParticipant:completion:)'
+    - Selector: 'resolveParticipantsForAddCallParticipant:withCompletion:'
+      MethodKind: Instance
+      SwiftName: 'resolveParticipants(forAddCallParticipant:with:)'
   - Name: INAddMediaIntentHandling
     Methods:
     - Selector: 'confirmAddMedia:completion:'
Clone this wiki locally