Skip to content

SharedWithYou macOS xcode14.1 b3

Israel Soto edited this page Sep 30, 2022 · 3 revisions

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

diff -ruN /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h
--- /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h	2022-09-07 13:40:06.000000000 -0500
+++ /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h	2022-09-21 15:20:39.000000000 -0500
@@ -66,7 +66,7 @@
 - (void)getHighlightForURL:(NSURL *)URL completionHandler:(void (^)(SWHighlight * _Nullable highlight, NSError * _Nullable fetchError))completionHandler;
 
 /*!
-    @abstract A convience method to get a SWCollaborationHighlight for a given collaboration Identifier
+    @abstract A convenience method to get a SWCollaborationHighlight for a given collaboration Identifier
     @param collaborationIdentifier The unique identifier used to find the SWCollaborationHighlight
     @param error The error describing the failure.
 */
@@ -74,7 +74,7 @@
 - (SWCollaborationHighlight * __nullable)collaborationHighlightForIdentifier:(SWCollaborationIdentifier)collaborationIdentifier error:(NSError **)error;
 
 /*!
- @abstract A convience method to get an SWCollaborationHighlight for a given URL
+ @abstract A convenience method to get an SWCollaborationHighlight for a given URL
  @param URL The URL used to find the SWCollaborationHighlight
  @param completionHandler  an SWCollaborationHighlight if it was fetched. The completion handler will always be invoked on the main queue
  */
@@ -87,6 +87,12 @@
 - (void)postNoticeForHighlightEvent:(id<SWHighlightEvent>)event API_AVAILABLE(ios(16.0), macos(13.0));
 
 /*!
+    @abstract Clear notices for a given collaboration highlight in Messages.
+    @param highlight The highlight to clear notices from.
+ */
+- (void)clearNoticesForHighlight:(SWCollaborationHighlight *)highlight API_AVAILABLE(ios(16.1), macos(13.0)); 
+
+/*!
     @abstract Method to sign passed in data with local device's private key
     @param data NSData that needs to be signed
     @param collaborationHighlight The corresponding collaboration highlight.
diff -ruN /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h
--- /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h	2022-09-07 13:40:07.000000000 -0500
+++ /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWRemoveParticipantAlert.h	2022-09-22 09:18:56.000000000 -0500
@@ -16,7 +16,7 @@
 API_AVAILABLE(macos(13.0))
 SW_EXTERN @interface SWRemoveParticipantAlert : NSObject
 
-+ (void)alertWithParticipant:(SWPerson *)participant highlight:(SWCollaborationHighlight *)highlight inWindow:(nullable NSWindow *)window;
++ (void)showAlertWithParticipant:(SWPerson *)participant highlight:(SWCollaborationHighlight *)highlight inWindow:(nullable NSWindow *)window;
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
Clone this wiki locally