Skip to content

IntentsUI macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#IntentsUI.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutButton.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutButton.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutButton.h	2021-08-07 05:19:53.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutButton.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,51 +0,0 @@
-//
-//  INUIAddVoiceShortcutButton
-//  IntentsUI
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <AppKit/AppKit.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef NS_ENUM(NSUInteger, INUIAddVoiceShortcutButtonStyle) {
-    INUIAddVoiceShortcutButtonStyleWhite = 0,
-    INUIAddVoiceShortcutButtonStyleWhiteOutline,
-    INUIAddVoiceShortcutButtonStyleBlack,
-    INUIAddVoiceShortcutButtonStyleBlackOutline,
-    INUIAddVoiceShortcutButtonStyleAutomatic,
-    INUIAddVoiceShortcutButtonStyleAutomaticOutline,
-} API_AVAILABLE(macos(12.0)) API_UNAVAILABLE(ios, watchos, tvos);
-
-@class INShortcut, INUIAddVoiceShortcutButton, INUIAddVoiceShortcutViewController, INUIEditVoiceShortcutViewController;
-
-API_AVAILABLE(macos(12.0))
-API_UNAVAILABLE(ios, watchos, tvos)
-@protocol INUIAddVoiceShortcutButtonDelegate <NSObject>
-
-- (void)presentAddVoiceShortcutViewController:(INUIAddVoiceShortcutViewController *)addVoiceShortcutViewController forAddVoiceShortcutButton:(INUIAddVoiceShortcutButton *)addVoiceShortcutButton;
-- (void)presentEditVoiceShortcutViewController:(INUIEditVoiceShortcutViewController *)editVoiceShortcutViewController forAddVoiceShortcutButton:(INUIAddVoiceShortcutButton *)addVoiceShortcutButton;
-
-@end
-
-API_AVAILABLE(macos(12.0))
-IB_DESIGNABLE @interface INUIAddVoiceShortcutButton : NSButton
-
-- (instancetype)initWithStyle:(INUIAddVoiceShortcutButtonStyle)style NS_DESIGNATED_INITIALIZER;
-- (instancetype)init NS_UNAVAILABLE;
-- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
-
-@property (nonatomic) INUIAddVoiceShortcutButtonStyle style;
-@property (nonatomic, weak) id<INUIAddVoiceShortcutButtonDelegate> delegate;
-@property (nonatomic, strong, nullable) INShortcut *shortcut;
-
-/*!
- @abstract A custom corner radius for the @c INUIAddVoiceShortcutButton.
- @discussion If the provided corner radius is greater than half of the button’s height, it will be capped at half of the button’s height.
- */
-@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutViewController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutViewController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutViewController.h	2021-08-07 05:19:53.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIAddVoiceShortcutViewController.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,52 +0,0 @@
-//
-//  INUIAddVoiceShortcutViewController.h
-//  IntentsUI
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <AppKit/AppKit.h>
-
-@class INShortcut;
-@class INVoiceShortcut;
-@protocol INUIAddVoiceShortcutViewControllerDelegate;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/*!
- @abstract A view controller that will take the user through the setup flow to add a shortcut to Siri.
- @discussion First create the @c INShortcut object that represents the shortcut the user wants to perform. Then create an @c INUIAddVoiceShortcutViewController object and set its delegate. Then, present the view controller modally from another view controller in your app. The delegate must dismiss the view controller when the user completes the set up.
- */
-API_AVAILABLE(macos(12.0))
-@interface INUIAddVoiceShortcutViewController : NSViewController
-
-@property (nonatomic, nullable, weak) id<INUIAddVoiceShortcutViewControllerDelegate> delegate;
-
-/*!
- @param shortcut The shortcut is what will be run when the resulting voice shortcut is invoked. It also provides the suggested invocation phrase, via the @c suggestedInvocationPhrase property on the intent or user activity.
- */
-- (instancetype)initWithShortcut:(INShortcut *)shortcut;
-
-- (instancetype)init NS_UNAVAILABLE;
-- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;
-
-@end
-
-API_AVAILABLE(macos(12.0))
-@protocol INUIAddVoiceShortcutViewControllerDelegate <NSObject>
-
-/*!
- @abstract Called after the user finishes the setup flow for the voice shortcut, with either the successfully-added voice shortcut, or an error.
- @discussion Your implementation of this method should dismiss the view controller.
- */
-- (void)addVoiceShortcutViewController:(INUIAddVoiceShortcutViewController *)controller didFinishWithVoiceShortcut:(nullable INVoiceShortcut *)voiceShortcut error:(nullable NSError *)error;
-
-/*!
- @abstract Called if the user cancels the setup flow; the voice shortcut was not added.
- @discussion Your implementation of this method should dismiss the view controller.
- */
-- (void)addVoiceShortcutViewControllerDidCancel:(INUIAddVoiceShortcutViewController *)controller;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIEditVoiceShortcutViewController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIEditVoiceShortcutViewController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIEditVoiceShortcutViewController.h	2021-08-07 05:19:53.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/INUIEditVoiceShortcutViewController.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,57 +0,0 @@
-//
-//  INUIEditVoiceShortcutViewController.h
-//  IntentsUI
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <AppKit/AppKit.h>
-
-@class INVoiceShortcut;
-@protocol INUIEditVoiceShortcutViewControllerDelegate;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/*!
- @abstract A view controller that shows the details of a voice shortcut, and lets the user edit the phrase.
- @discussion To have the user edit a voice shortcut, create an @c INUIEditVoiceShortcutViewController object with the @c INVoiceShortcut that they wish to edit, and set its delegate. Then, present the view controller modally from another view controller in your app. Your delegate must dismiss the view controller when the user finishes editing.
- */
-API_AVAILABLE(macos(12.0))
-@interface INUIEditVoiceShortcutViewController : NSViewController
-
-@property (nonatomic, nullable, weak) id<INUIEditVoiceShortcutViewControllerDelegate> delegate;
-
-/*!
- @param voiceShortcut The voice shortcut to be edited.
- */
-- (instancetype)initWithVoiceShortcut:(INVoiceShortcut *)voiceShortcut;
-
-- (instancetype)init NS_UNAVAILABLE;
-- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE;
-
-@end
-
-API_AVAILABLE(macos(12.0))
-@protocol INUIEditVoiceShortcutViewControllerDelegate <NSObject>
-
-/*!
- @abstract Called if the user updates the voice shortcut, with either the successfully-updated voice shortcut, or an error.
- @discussion Your implementation of this method should dismiss the view controller.
- */
-- (void)editVoiceShortcutViewController:(INUIEditVoiceShortcutViewController *)controller didUpdateVoiceShortcut:(nullable INVoiceShortcut *)voiceShortcut error:(nullable NSError *)error;
-
-/*!
- @abstract Called if the user deletes the voice shortcut.
- @discussion Your implementation of this method should dismiss the view controller.
- */
-- (void)editVoiceShortcutViewController:(INUIEditVoiceShortcutViewController *)controller didDeleteVoiceShortcutWithIdentifier:(NSUUID *)deletedVoiceShortcutIdentifier;
-
-/*!
- @abstract Called if the user cancelled; no changes were made to the voice shortcut.
- @discussion Your implementation of this method should dismiss the view controller.
- */
-- (void)editVoiceShortcutViewControllerDidCancel:(INUIEditVoiceShortcutViewController *)controller;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.apinotes /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.apinotes
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.apinotes	2021-08-02 02:21:07.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.apinotes	1969-12-31 19:00:00.000000000 -0500
@@ -1,40 +0,0 @@
----
-Name: IntentsUI
-SwiftVersions:
-- Version: 3
-  Classes:
-  - Name: INImage
-    Methods:
-    - Selector: 'imageWithCGImage:'
-      MethodKind: Class
-      NullabilityOfRet: U
-      Nullability:
-      - U
-      Parameters:
-      - Position: 0
-        Nullability: U
-    - Selector: 'imageWithUIImage:'
-      MethodKind: Class
-      NullabilityOfRet: U
-      Nullability:
-      - U
-      Parameters:
-      - Position: 0
-        Nullability: U
-    - Selector: 'imageSizeForIntentResponse:'
-      MethodKind: Class
-      Parameters:
-      - Position: 0
-        Nullability: U
-  Protocols:
-  - Name: INUIHostedViewControlling
-    Methods:
-    - Selector: 'configureWithInteraction:context:completion:'
-      MethodKind: Instance
-      Parameters:
-      - Position: 0
-        Nullability: U
-      - Position: 2
-        Nullability: U
-
-
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.h	2021-08-02 02:23:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IntentsUI.framework/Headers/IntentsUI.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,18 +0,0 @@
-//
-//  IntentsUI.h
-//  IntentsUI
-//
-//  Copyright (c) 2020 Apple Inc. All rights reserved.
-//
-
-#import <AppKit/AppKit.h>
-
-//! Project version number for IntentsUI.
-FOUNDATION_EXPORT double IntentsUIVersionNumber;
-
-//! Project version string for IntentsUI.
-FOUNDATION_EXPORT const unsigned char IntentsUIVersionString[];
-
-#import <IntentsUI/INUIAddVoiceShortcutButton.h>
-#import <IntentsUI/INUIAddVoiceShortcutViewController.h>
-#import <IntentsUI/INUIEditVoiceShortcutViewController.h>
Clone this wiki locally