Skip to content

SharedWithYou tvOS 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/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYou.framework/Headers/SWHighlightCenter.h
--- /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS.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.
Clone this wiki locally