Skip to content

SharedWithYou tvOS xcode14.0 beta3

Manuel de la Pena edited this page Aug 30, 2022 · 3 revisions

#SharedWithYou.framework https://github.com/xamarin/xamarin-macios/pull/15819

diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationView.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationView.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationView.h	2022-06-13 01:59:31.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationView.h	2022-06-30 00:02:19.000000000 -0500
@@ -2,7 +2,7 @@
 //  SWCollaborationView.h
 //  SocialLayer
 //
-//  Created by Ryan Williams on 4/21/22.
+//  Copyright (c) 2022 Apple. All rights reserved.
 //
 
 #import <SharedWithYouCore/SWDefines.h>
@@ -34,7 +34,10 @@
 - (void)setContentView:(NSView *)detailViewListContentView;
 #else
 @interface SWCollaborationView : UIView
+
+#if !TARGET_OS_TV
 @property (nonatomic, weak) id<UICloudSharingControllerDelegate> cloudSharingDelegate;
+#endif
 
 - (void)setContentView:(UIView *)detailViewListContentView;
 #endif
@@ -53,6 +56,17 @@
 @property (nonatomic, strong) UIImage *headerImage;
 #endif
 
+#if TARGET_OS_OSX
+/*!
+     @abstract If you are using the built in manage share button, this delegate property will be forwarded along to the NSCloudSharingService that button presents. If you have your own and suppress the provided one via setShowManageButton, this does nothing.
+*/
+@property (nonatomic, weak) id<NSCloudSharingServiceDelegate> cloudSharingServiceDelegate;
+#elif !TARGET_OS_TV
+/*!
+     @abstract If you are using the built in manage share button, this delegate property will be forwarded along to the UICloudSharingController that button presents. If you have your own and suppress the provided one via setShowManageButton, this does nothing.
+*/
+@property (nonatomic, weak) id<UICloudSharingControllerDelegate> cloudSharingControllerDelegate;
+#endif
 
 /*!
      @abstract Dismisses the popover, if presented.
@@ -62,7 +76,6 @@
 
 /*!
      @abstract sets the title of the manage participants button in the collaboration popover to the given string, defaults to "Manage Share"
-     @param manageButtonTitle localized string to display as the title for the manage participants button in the collaboration popover
 */
 @property (nonatomic, copy) NSString *manageButtonTitle;
 
Clone this wiki locally