Skip to content

SharedWithYou tvOS xcode16.0 b1

Rolf Bjarne Kvinge edited this page Jun 20, 2024 · 3 revisions

#SharedWithYou.framework

Rolf

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/NSPasteboardItem+SWCollaborationMetadata.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/NSPasteboardItem+SWCollaborationMetadata.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/NSPasteboardItem+SWCollaborationMetadata.h	1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/NSPasteboardItem+SWCollaborationMetadata.h	2024-05-30 04:42:30
@@ -0,0 +1,28 @@
+//  Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+
+#if TARGET_OS_OSX
+
+#import <SharedWithYouCore/SWDefines.h>
+#import <SharedWithYouCore/SWCollaborationMetadata.h>
+
+#import <AppKit/AppKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(macos(13.0))
+@interface NSPasteboardItem (SWCollaborationMetadata)
+
+/*!
+ @abstract Sets the collaboration metadata on the pasteboard item.
+ */
+@property (readwrite, copy, nullable) SWCollaborationMetadata *collaborationMetadata;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+SW_EXTERN NSPasteboardType const NSPasteboardTypeCollaborationMetadata;
+
+#endif /* TARGET_OS_OSX */
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h	1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h	2024-05-30 04:42:30
@@ -0,0 +1,33 @@
+//
+//  SWRemoveParticipantAlert.h
+//  SWRemoveParticipantAlert
+//
+//  Copyright (c) 2022 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <TargetConditionals.h>
+
+#if TARGET_OS_OSX
+
+#import <AppKit/AppKit.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+@class SWCollaborationHighlight;
+@class SWPerson;
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(macos(13.0))
+SW_EXTERN @interface SWRemoveParticipantAlert : NSObject
+
++ (void)showAlertWithParticipant:(SWPerson *)participant highlight:(SWCollaborationHighlight *)highlight inWindow:(nullable NSWindow *)window;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif /* TARGET_OS_OSX */
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h	2024-04-13 14:56:23
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h	2024-05-30 04:42:29
@@ -22,10 +22,8 @@
 
 #if TARGET_OS_IPHONE
 #import <SharedWithYou/SWRemoveParticipantAlertController.h>
-#else
-#import <SharedWithYou/SWRemoveParticipantAlert.h>
 #endif
 
-#if TARGET_OS_OSX
+#import <SharedWithYou/SWRemoveParticipantAlert.h>
+
 #import <SharedWithYou/NSPasteboardItem+SWCollaborationMetadata.h>
-#endif

Clone this wiki locally