Repository navigation
SharedWithYou MacCatalyst xcode27.3 b1
Alex Soto edited this page Nov 4, 2026
·
1 revision
#SharedWithYou.framework
diff -ruN /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h
--- /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h 1970-01-01 01:00:00
+++ /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h 2026-11-04 09:32:11
@@ -0,0 +1,44 @@
+#import <TargetConditionals.h>
+#if !TARGET_OS_TV
+//
+// SWCollaborationBarButtonItem.h
+// SocialLayer
+//
+// Created by Lance Parker on 3/30/22.
+//
+
+#import <SharedWithYouCore/SWDefines.h>
+
+#if TARGET_OS_IOS
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(27.3), visionos(27.3)) API_UNAVAILABLE(tvos, macos)
+@interface SWCollaborationBarButtonItem : UIBarButtonItem
+
+/// The delegate forwarded to the `UICloudSharingController` presented by the built-in manage
+/// share button. Held weakly and may be `nil`, so the caller is responsible for keeping it alive.
+@property (nonatomic, weak, nullable) id<UICloudSharingControllerDelegate> cloudSharingControllerDelegate;
+@property (nonatomic, assign) NSInteger activeParticipantCount;
+/// Whether the collaboration button should show the participant count. Defaults to YES.
+@property (nonatomic, assign) BOOL showsParticipantCount;
+@property (nonatomic, assign) NSInteger pendingAccessRequestsCount;
+/// Whether the detail view should show the built-in manage share button. Defaults to YES.
+@property (nonatomic, assign) BOOL showManageButton;
+/// The title of the built-in manage share button. Defaults to "Manage Share".
+@property (nonatomic, copy) NSString *manageButtonTitle;
+@property (nonatomic, strong, nullable) UIView *detailViewListContent;
+
+- (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider;
+
+- (void)dismissPopoverAnimated:(BOOL)animated completion:(void (^_Nullable)(void))completion;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif
+
+#endif // !TARGET_OS_TV
diff -ruN /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h
--- /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h 1970-01-01 01:00:00
+++ /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h 2026-11-04 09:32:11
@@ -0,0 +1,38 @@
+#import <TargetConditionals.h>
+#if !TARGET_OS_TV
+//
+// SWCollaborationToolbarItem.h
+// SharedWithYouMac
+//
+// Created by Lance Parker on 3/30/22.
+//
+
+#import <SharedWithYouCore/SWDefines.h>
+
+#if TARGET_OS_OSX
+#import <AppKit/AppKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(macos(27.3)) API_UNAVAILABLE(tvos, ios, visionos)
+@interface SWCollaborationToolbarItem : NSToolbarItem
+
+@property (nonatomic, assign) NSInteger activeParticipantCount;
+/// Whether the collaboration button should show the participant count. Defaults to YES.
+@property (nonatomic, assign) BOOL showsParticipantCount;
+@property (nonatomic, assign) NSInteger pendingAccessRequestsCount;
+/// Whether the detail view should show the built-in manage share button. Defaults to YES.
+@property (nonatomic, assign) BOOL showManageButton;
+/// The title of the built-in manage share button. Defaults to "Manage Share".
+@property (nonatomic, copy) NSString *manageButtonTitle;
+@property (nonatomic, strong, nullable) NSView *detailViewListContent;
+
+- (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider;
+
+- (void)dismissPopoverAnimated:(BOOL)animated completion:(void (^_Nullable)(void))completion;
+@end
+
+NS_ASSUME_NONNULL_END
+#endif
+
+#endif // !TARGET_OS_TV
diff -ruN /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h
--- /Applications/Xcode_27.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h 2026-10-08 09:32:11
+++ /Applications/Xcode_27.3.0-beta1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h 2026-11-04 09:32:11
@@ -18,6 +18,8 @@
#import <SharedWithYou/SWHighlightPersistenceEvent.h>
#import <SharedWithYou/SWAttributionView.h>
#import <SharedWithYou/SWCollaborationView.h>
+#import <SharedWithYou/SWCollaborationBarButtonItem.h>
+#import <SharedWithYou/SWCollaborationToolbarItem.h>
#import <SharedWithYou/NSItemProvider+SWCollaborationMetadata.h>
#if TARGET_OS_IPHONE