Skip to content

BusinessChat macOS xcode14.2 rc

Alex Soto edited this page Dec 11, 2022 · 2 revisions

#BusinessChat.framework https://github.com/xamarin/xamarin-macios/pull/17010

diff -ruN /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatAction.h /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatAction.h
--- /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatAction.h	2022-10-06 13:29:08.000000000 -0400
+++ /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatAction.h	2022-11-12 15:58:16.000000000 -0500
@@ -16,13 +16,13 @@
 typedef NSString *BCParameterName _NS_TYPED_EXTENSIBLE_ENUM NS_SWIFT_NAME(BCChatAction.Parameter);
 
 /** Intent is used to help the support agent or business system identify the product, service, account, or other context when the customer tapped the button to send the message. */
-extern BCParameterName const BCParameterNameIntent API_AVAILABLE(macos(10.13.4), ios(11.3));
+extern BCParameterName const BCParameterNameIntent API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 /** Group is used to help the business or customer service platform route the message to the appropriate support agent group. */
-extern BCParameterName const BCParameterNameGroup API_AVAILABLE(macos(10.13.4), ios(11.3));
+extern BCParameterName const BCParameterNameGroup API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 /** Body is used to help the customer by providing a pre-configured contextual message that the customer can tap to send to smooth the transition into Business Chat. */
-extern BCParameterName const BCParameterNameBody API_AVAILABLE(macos(10.13.4), ios(11.3));
+extern BCParameterName const BCParameterNameBody API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 
-API_AVAILABLE(macos(10.13.4), ios(11.3))
+API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1))
 @interface BCChatAction : NSObject
 
 /**
@@ -32,7 +32,7 @@
  @param intentParameters Parameters to be sent with the initial message.
  */
 + (void)openTranscript:(NSString *)businessIdentifier
-      intentParameters:(NSDictionary<BCParameterName, NSString *> *)intentParameters NS_SWIFT_NAME(openTranscript(businessIdentifier:intentParameters:))API_AVAILABLE(macos(10.13.4), ios(11.3));
+      intentParameters:(NSDictionary<BCParameterName, NSString *> *)intentParameters NS_SWIFT_NAME(openTranscript(businessIdentifier:intentParameters:)) API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 
 @end
 
diff -ruN /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatButton.h /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatButton.h
--- /Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatButton.h	2022-10-06 13:29:08.000000000 -0400
+++ /Applications/Xcode_14.2.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/BusinessChat.framework/Headers/BCChatButton.h	2022-11-12 15:58:16.000000000 -0500
@@ -17,12 +17,12 @@
 /**
  BCChatButtonStyle is used to define the visual style of the button.
  */
-typedef NS_ENUM(NSInteger, BCChatButtonStyle) { BCChatButtonStyleLight = 0, BCChatButtonStyleDark } NS_SWIFT_NAME(BCChatButton.Style) API_AVAILABLE(macos(10.13.4), ios(11.3));
+typedef NS_ENUM(NSInteger, BCChatButtonStyle) { BCChatButtonStyleLight = 0, BCChatButtonStyleDark } NS_SWIFT_NAME(BCChatButton.Style) API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 
 /**
  BCChatButton is a button allowing users to initiate a conversation with a business.
  */
-API_AVAILABLE(macos(10.13.4), ios(11.3))
+API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1))
 #if TARGET_OS_OSX && !TARGET_OS_MACCATALYST
 @interface BCChatButton : NSControl
 #else
@@ -36,9 +36,9 @@
 
  @return BCChatButton instance.
  */
-- (instancetype)initWithStyle:(BCChatButtonStyle)style API_AVAILABLE(macos(10.13.4), ios(11.3))NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithStyle:(BCChatButtonStyle)style NS_DESIGNATED_INITIALIZER API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 
-- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
+- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER API_DEPRECATED("", macos(10.13.4, 13.0), ios(11.3, 16.1));
 
 @end
 
Clone this wiki locally