-
Notifications
You must be signed in to change notification settings - Fork 516
SharedWithYou macOS xcode14.0 beta1
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_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWAttributionView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWAttributionView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWAttributionView.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWAttributionView.h 2022-06-03 18:07:03.000000000 -0400
@@ -0,0 +1,135 @@
+//
+// SWAttributionView.h
+// SWAttributionView
+//
+// Copyright (c) 2021 Apple. All rights reserved.
+//
+
+#import <TargetConditionals.h>
+
+#if TARGET_OS_OSX
+#import <AppKit/NSView.h>
+#import <AppKit/NSMenu.h>
+#else
+#import <UIKit/UIView.h>
+#import <UIKit/UIMenu.h>
+#endif
+
+#import <SharedWithYouCore/SWDefines.h>
+#import <SharedWithYou/SWHighlight.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class SWAttributionView;
+@class SWHighlight;
+
+/*!
+ @abstract The context for the content being displayed; influences future ranking of this view's SWHighlight
+ @discussion Set the appropriate display context on SWAttributionView before it is added to a window. This informs the system about how the user is consuming the attributed content, and influences future relevancy ranking of the SWHighlight for this view.
+ */
+typedef NS_ENUM(NSInteger, SWAttributionViewDisplayContext) {
+ /// The default context. Indicates that the attributed content shown along with this view is being offered to the user for consumption
+ SWAttributionViewDisplayContextSummary = 0,
+ /// Indicates that the attributed content shown along with this view is being actively consumed by the user
+ SWAttributionViewDisplayContextDetail,
+} NS_SWIFT_NAME(SWAttributionView.DisplayContext);
+
+/*!
+ @abstract The horizontal alignment of SWAttributionView's contents
+ */
+typedef NS_ENUM(NSInteger, SWAttributionViewHorizontalAlignment) {
+ /// The default horizontal alignment, to be chosen by SWAttributionView
+ SWAttributionViewHorizontalAlignmentDefault = 0,
+ /// Horizontally align with the leading edge of the view (depends on the user interface layout direction)
+ SWAttributionViewHorizontalAlignmentLeading,
+ /// Horizontally align with the center of the view
+ SWAttributionViewHorizontalAlignmentCenter,
+ /// Horizontally align with the trailing edge of the view (depends on the user interface layout direction)
+ SWAttributionViewHorizontalAlignmentTrailing
+} NS_SWIFT_NAME(SWAttributionView.HorizontalAlignment);
+
+/*!
+ @abstract The background styling of SWAttributionView's contents
+ */
+typedef NS_ENUM(NSInteger, SWAttributionViewBackgroundStyle) {
+ /// The default background style, to be chosen by SWAttributionView
+ SWAttributionViewBackgroundStyleDefault = 0,
+ /// A non-material background color for the view's contents, best when placed over monochrome backgrounds
+ SWAttributionViewBackgroundStyleColor,
+ /// A material background blur for the view's contents, best when placed over multicolored backgrounds
+ SWAttributionViewBackgroundStyleMaterial
+} NS_SWIFT_NAME(SWAttributionView.BackgroundStyle);
+
+/*!
+ @class SWAttributionView
+ @abstract Displays the senders who shared a particular SWHighlight. Allows users to get back to the conversation about that content, and provides other related actions.
+ @discussion Place an SWAttributionView next to the content represented by its SWHighlight. SWAttributionView displays the names/avatars within the provided horizontal space. Constrain this view's width anchor or set its frame width to control the maximum width of its contents after which truncation may occur. Do not constrain the view's height, as the height is dependent on the preferredContentSizeCategory, and the resulting font size. To provide enough vertical space around this view, reference its heightAnchor when using Auto Layout, or its intrinsicContentSize when using manual layout.
+ */
+
+#if TARGET_OS_OSX
+SW_EXTERN @interface SWAttributionView : NSView
+#else
+SW_EXTERN @interface SWAttributionView : UIView
+#endif
+
+/*!
+ @abstract The SWHighlight to use for displaying this attribution. When this property is set to a new highlight, the contents of the view will be reloaded.
+ */
+@property (nullable, strong, nonatomic, readwrite) SWHighlight *highlight;
+
+/*!
+ @abstract The context for the content being displayed with this view. Set this prior to adding this view to your view hierarchy.
+ */
+@property (assign, nonatomic, readwrite) SWAttributionViewDisplayContext displayContext;
+
+/*!
+ @abstract The horizontal alignment of the view. You should specify a value, in case the internal default ever changes.
+ @discussion This value specifies the horizontal anchor for the view's contents. This only has an effect when the width of the contents are less than the available width.
+ */
+@property (assign, nonatomic, readwrite) SWAttributionViewHorizontalAlignment horizontalAlignment;
+
+/*!
+ @abstract The background style of the inner view containing names and avatars.
+ @discussion If you do not specify a background style, one will be chosen automatically. In general, .color looks best on monochrome backgrounds, while .material looks better on colored backgrounds.
+ */
+@property (assign, nonatomic, readwrite) SWAttributionViewBackgroundStyle backgroundStyle;
+
+/*!
+ @abstract For use when embedding this view in a SwiftUI view representable.
+ @discussion When using this view in SwiftUI, this view will constrain its contents to this width. If you are not using SwiftUI this property should not be necessary, as SWAttributionView otherwise derives the maximum width from the frame or constraints you set.
+ */
+@property (assign, nonatomic, readwrite) CGFloat preferredMaxLayoutWidth;
+
+/*!
+ @abstract A menu with a list of system actions specific to this SWAttributionView's SWHighlight.
+ @discussion Use this menu to augment an existing menu attached to the content represented by this SWAttributionView. This allows the user to easily reply to or hide the content. This menu should be added inline with (and at the end of) the menu elements it augments.
+ */
+#if TARGET_OS_OSX
+@property (strong, nonatomic, readonly) NSMenu *highlightMenu;
+#else
+@property (strong, nonatomic, readonly) UIMenu *highlightMenu;
+#endif
+
+/*!
+ @abstract A custom localized string to be used as the title for the "Hide" menu item title. A nil value will result in the default title.
+ @discussion SWAttributionView manages a context menu which includes the option for the user to hide the content for the SWHighlight represented by this view. Set a title to be used as the title for that context menu. An app that displays articles, for example, might set @"Hide Article", localized to the current language. The string should include the word "Hide", localized correctly with the custom content type.
+ */
+@property (nullable, strong, nonatomic, readwrite) NSString *menuTitleForHideAction;
+
+/*!
+ @abstract Supplemental menu to augment SWAttributionView's existing menu. Use this when there are additional actions a user can take on content represented by this view's SWHighlight. A nil value results in no supplemental menu being used.
+ */
+#if TARGET_OS_OSX
+@property (nullable, strong, nonatomic, readwrite) NSMenuItem *supplementalMenu;
+#else
+@property (nullable, strong, nonatomic, readwrite) UIMenu *supplementalMenu;
+#endif
+
+/*!
+ @brief Automatically enables a marquee effect if the text contents extend past the bounds of the view (tvOS only)
+ */
+@property (assign, nonatomic, readwrite) BOOL enablesMarquee API_UNAVAILABLE(ios, macos);
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationBarButtonItem.h 2022-05-31 15:03:28.000000000 -0400
@@ -0,0 +1,35 @@
+//
+// SWCollaborationBarButtonItem.h
+// SocialLayer
+//
+// Copyright (c) 2022 Apple. All rights reserved.
+//
+
+#import <SharedWithYouCore/SWDefines.h>
+
+#if TARGET_OS_IOS
+
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+//@available(iOS 16, macOS 13, *)
+//@available(watchOS, unavailable)
+//@available(tvOS, unavailable)
+@interface _SWCollaborationBarButtonItem : UIBarButtonItem
+
+@property (nonatomic, strong) NSItemProvider *itemProvider;
+@property (nonatomic, strong) id<UICloudSharingControllerDelegate> cloudSharingControllerDelegate;
+@property (nonatomic, assign) NSUInteger activeParticipantCount;
+@property (nonatomic, assign) BOOL isContentShared;
+
+- (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider;
+
+- (void)dismissPopoverAnimated:(BOOL)animated completion:(void (^_Nullable)(void))completion;
+
+- (void)setDetailViewListContent:(UIView *)detailViewListContentView;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationButtonView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationButtonView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationButtonView.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationButtonView.h 2022-05-27 23:50:33.000000000 -0400
@@ -0,0 +1,45 @@
+//
+// SWCollaborationButtonView.h
+// SocialLayer
+//
+// Copyright (c) 2022 Apple. All rights reserved.
+//
+
+#import <SharedWithYouCore/SWDefines.h>
+
+#if TARGET_OS_OSX
+#import <AppKit/AppKit.h>
+#else
+#import <UIKit/UIKit.h>
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @abstract A view that displays a `SWCollaborationDetailViewController` upon user interaction and attributes active collaborations associated with the given content to a conversation in Messages.
+ */
+#if TARGET_OS_OSX
+@interface _SWCollaborationButtonView : NSView
+- (void)setDetailViewListContent:(NSView *)detailViewListContentView;
+#else
+@interface _SWCollaborationButtonView : UIView
+- (void)setDetailViewListContent:(UIView *)detailViewListContentView;
+#endif
+
+- (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider;
+
+/*!
+ @abstract sets the title of the manage participants button in the collaboration popover to the given string, defaults to "Manage Share"
+ @param title localized string to display as the title for the manage participants button in the collaboration popover
+*/
+- (void)setManageButtonTitle:(NSString *)manageButtonTitle;
+
+/*!
+ @abstract whether the collaboration popover should show the default manage participants button in the popover, defaults to YES
+ @param showManageButton whether the button should be hidden
+*/
+- (void)setShowManageButton:(BOOL)showManageButton;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationDetailViewController.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationDetailViewController.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationDetailViewController.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationDetailViewController.h 2022-05-31 15:03:28.000000000 -0400
@@ -0,0 +1,34 @@
+//
+// SWCollaborationDetailViewController.h
+// SharedWithYou
+//
+// Copyright (c) 2022 Apple. All rights reserved.
+//
+
+#import <SharedWithYouCore/SWDefines.h>
+
+#if TARGET_OS_OSX
+#import <AppKit/AppKit.h>
+#else
+#import <UIKit/UIKit.h>
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+#if TARGET_OS_OSX
+//@available(macOS 13, *)
+//@available(iOS, unavailable)
+//@available(watchOS, unavailable)
+//@available(tvOS, unavailable)
+@interface _SWCollaborationDetailViewController : NSViewController
+#else
+//@available(iOS 16, *)
+//@available(macOS, unavailable)
+//@available(watchOS, unavailable)
+//@available(tvOS, unavailable)
+@interface _SWCollaborationDetailViewController : UIViewController
+#endif
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWCollaborationToolbarItem.h 2022-05-31 15:03:28.000000000 -0400
@@ -0,0 +1,32 @@
+//
+// SWCollaborationToolbarItem.h
+// SharedWithYouMac
+//
+// Copyright (c) 2022 Apple. All rights reserved.
+//
+
+#import <SharedWithYouCore/SWDefines.h>
+
+#if TARGET_OS_OSX
+#import <AppKit/AppKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+//@available(macOS 13, *)
+//@available(iOS, unavailable)
+//@available(watchOS, unavailable)
+//@available(tvOS, unavailable)
+@interface _SWCollaborationToolbarItem : NSToolbarItem
+
+@property (nonatomic, strong) NSItemProvider *itemProvider;
+@property (nonatomic, assign) NSUInteger activeParticipantCount;
+@property (nonatomic, assign) BOOL isContentShared;
+
+- (instancetype)initWithItemProvider:(NSItemProvider *)itemProvider;
+
+- (void)dismissPopoverAnimated:(BOOL)animated completion:(void (^_Nullable)(void))completion;
+
+- (void)setDetailViewListContent:(NSView *)detailViewListContentView;
+@end
+
+NS_ASSUME_NONNULL_END
+#endif
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWErrors.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWErrors.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWErrors.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWErrors.h 2022-05-27 23:50:33.000000000 -0400
@@ -0,0 +1,16 @@
+//
+// SWErrors.h
+// SWErrorDomains
+//
+// Copyright (c) 2021 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+typedef NS_ENUM(NSInteger, SWHighlightCenterErrorCode) {
+ SWHighlightCenterErrorCodeNoError = 0,
+ SWHighlightCenterErrorCodeInternalError,
+ SWHighlightCenterErrorCodeInvalidURL,
+ SWHighlightCenterErrorCodeAccessDenied,
+};
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlight.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlight.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlight.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlight.h 2022-05-27 23:50:33.000000000 -0400
@@ -0,0 +1,42 @@
+//
+// SWHighlight.h
+// SWHighlight
+//
+// Copyright (c) 2021 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+/*
+ WARNING: NON-FINAL API, DO NOT ADOPT WITHOUT PERMISSION FROM THE MESSAGES TEAM
+ */
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class SWHighlight
+ @abstract A model object representing a universal link shared by any number of contacts, in any number of conversations. The identities of the contacts are not exposed to the application.
+ @discussion The system tracks universal links shared with the current user, and decides which links to elevate for consumption in an app. When the system deems a link to be useful, it surfaces that link to the hosting app in the form of an `SWHighlight` object. Only universal links can be surfaced in this way.
+ */
+SW_EXTERN @interface SWHighlight : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @abstract The unique identifier for this highlight
+ */
+@property (copy, readonly, nonatomic) id <NSSecureCoding, NSCopying> identifier;
+
+/*!
+ @abstract The surfaced content URL
+ */
+@property (copy, readonly, nonatomic) NSURL *URL;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+@end
+
+NS_ASSUME_NONNULL_END
+
+/*
+ WARNING: NON-FINAL API, DO NOT ADOPT WITHOUT PERMISSION FROM THE MESSAGES TEAM
+ */
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h 2022-05-27 23:50:33.000000000 -0400
@@ -0,0 +1,54 @@
+//
+// SWHighlightCenter.h
+// SWHighlightCenter
+//
+// Copyright (c) 2021 Apple. All rights reserved.
+//
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+#import <SharedWithYou/SWHighlight.h>
+//#import <SharedWithYou/SWCollaborationHighlight.h>
+
+NS_ASSUME_NONNULL_BEGIN
+@class SWHighlight;
+@class SWHighlightCenter;
+@class SWCollaborationHighlight;
+
+/*!
+ @protocol SWHighlightCenterDelegate
+ @abstract The delegate is notified when there are changes to the list of surfaced highlights, or when the enablement settings change.
+ */
+@protocol SWHighlightCenterDelegate <NSObject>
+
+@required
+/*!
+ @abstract Notifies the delegate that the list, or rank order of surfaced highlights has changed.
+ @discussion When this method is called, it is the app's responsibility to update any displayed highlights to match the updated list. Only the highlights provided should have an indication of having been shared. If no highlights are provided in the list, any links previously indicated as shared should be removed. The array is a priority-ordered list, where the first element in the array is deemed to be most relevant to the user at the time this method is called. The list of provided highlights will be empty if there are no highlights, or when the user has not given permission for a particular app to display highlights.
+ */
+- (void)highlightCenterHighlightsDidChange:(SWHighlightCenter *)highlightCenter;
+
+@end
+
+/*!
+ @class SWHighlightCenter
+ @abstract Provides the application with a priority-ordered list of universal links which have been shared with the current user.
+ @discussion The system decides which links should be surfaced. The app is responsible for updating its UI to reflect the latest provided list.
+ */
+SW_EXTERN @interface SWHighlightCenter : NSObject
+
+/*!
+ @abstract The highlight center's delegate
+ */
+@property (nullable, weak, nonatomic, readwrite) id<SWHighlightCenterDelegate> delegate;
+
+@property (copy, nonatomic, readonly) NSArray<SWHighlight *> *highlights;
+
+/*!
+ @abstract Localized title to display with a collection of highlights
+ @discussion Use this string as the title for a collection of shared highlight links displayed to the user.
+ */
+@property (class, nonatomic, readonly) NSString *highlightCollectionTitle;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h 2022-05-31 15:03:28.000000000 -0400
@@ -0,0 +1,30 @@
+//
+// SWRemoveParticipantAlert.h
+// SWRemoveParticipantAlert
+//
+// Copyright (c) 2022 Apple. All rights reserved.
+//
+
+#import <AppKit/AppKit.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+/*
+ WARNING: NON-FINAL API, DO NOT ADOPT WITHOUT PERMISSION FROM THE MESSAGES TEAM
+ */
+
+@class SWCollaborationHighlight;
+@class _SWPerson;
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(macos(13.0)) API_UNAVAILABLE(watchos, ios, tvos)
+SW_EXTERN @interface SWRemoveParticipantAlert : NSObject
+
++ (void)alertWithParticipant:(_SWPerson *)participant highlight:(SWCollaborationHighlight *)highlight inWindow:(nullable NSWindow *)window;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SharedWithYou.h 2022-05-27 23:50:33.000000000 -0400
@@ -0,0 +1,23 @@
+//
+// SharedWithYou.h
+// SharedWithYou
+//
+// Copyright (c) 2021 Apple. All rights reserved.
+//
+
+#import <SharedWithYouCore/SharedWithYouCore.h>
+
+#import <SharedWithYou/SWErrors.h>
+#import <SharedWithYou/SWHighlight.h>
+#import <SharedWithYou/SWHighlightCenter.h>
+#import <SharedWithYou/SWAttributionView.h>
+#import <SharedWithYou/SWCollaborationButtonView.h>
+#import <SharedWithYou/SWCollaborationToolbarItem.h>
+#import <SharedWithYou/SWCollaborationBarButtonItem.h>
+#import <SharedWithYou/SWCollaborationDetailViewController.h>
+
+#if TARGET_OS_IPHONE
+#import <SharedWithYou/SWRemoveParticipantAlertController.h>
+#else
+#import <SharedWithYou/SWRemoveParticipantAlert.h>
+#endif
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status