Skip to content

SharedWithYouCore macOS xcode14.0 beta4

Manuel de la Pena edited this page Aug 4, 2022 · 3 revisions

#SharedWithYouCore.framework https://github.com/xamarin/xamarin-macios/pull/15634

diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h	2022-07-22 10:06:39.000000000 -0400
@@ -5,8 +5,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-SW_EXTERN
-@interface SWAction : NSObject <NSCopying, NSSecureCoding>
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
+SW_EXTERN @interface SWAction : NSObject <NSCopying, NSSecureCoding>
 
 @property (nonatomic, readonly) NSUUID *uuid;
 @property (nonatomic, readonly, getter=isComplete) BOOL complete;
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h	2022-07-22 10:06:39.000000000 -0400
@@ -10,6 +10,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 @protocol SWCollaborationActionHandler <NSObject>
 - (void)collaborationCoordinator:(SWCollaborationCoordinator *)coordinator handleStartCollaborationAction:(SWStartCollaborationAction *)action;
 - (void)collaborationCoordinator:(SWCollaborationCoordinator *)coordinator handleUpdateCollaborationParticipantsAction:(SWUpdateCollaborationParticipantsAction *)action;
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h	2022-07-22 10:06:39.000000000 -0400
@@ -7,6 +7,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 SW_EXTERN @interface SWCollaborationCoordinator : NSObject
 
 @property (class, nonatomic, strong, readonly) SWCollaborationCoordinator *sharedCoordinator;
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h	2022-07-22 10:06:39.000000000 -0400
@@ -19,7 +19,7 @@
 */
 typedef NSString *SWLocalCollaborationIdentifier NS_TYPED_EXTENSIBLE_ENUM;
 
-
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 SW_EXTERN @interface SWCollaborationMetadata : NSObject <NSSecureCoding, NSCopying, NSMutableCopying>
 
 /*!
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsPickerGroup.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsPickerGroup.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsPickerGroup.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsPickerGroup.h	2022-07-20 05:20:20.000000000 -0400
@@ -0,0 +1,21 @@
+//  Copyright (c) 2022 Apple. All rights reserved.
+
+@class SWCollaborationOptionsGroup;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+     @class SWCollaborationOptionsPickerGroup
+     @abstract represents a group of SWCollaborationOptions that should be grouped together as a picker list from which one option in the list can be selected at a time
+     @discussion SWCollaborationOptionsPickerGroup is used as a picker view which allows the user to select only one of the SWCollaborationOptions at a time from each group.
+ */
+SW_EXTERN @interface SWCollaborationOptionsPickerGroup : SWCollaborationOptionsGroup
+
+/*!
+    @abstract The identifier of the selected option in the option group. Defaults to the first SWCollaboration option identifier.
+ */
+@property (nonatomic, strong, readwrite) NSString *selectedOptionIdentifier;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h	2022-07-22 10:06:39.000000000 -0400
@@ -12,6 +12,7 @@
 
 @class SWPersonIdentity;
 
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 SW_EXTERN @interface SWPerson : NSObject <NSSecureCoding>
 
 /*!
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h	2022-07-22 10:06:39.000000000 -0400
@@ -9,6 +9,7 @@
      @class SWPersonIdentity
      @abstract Represents an opaque Merkle tree where the root hash of the tree can uniquely identify the individual by all of their devices. The individual's devices can prove themselves to be part of this identity, and can then be used for cryptographic signatures for that individual.
  */
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 NS_SWIFT_NAME(SWPerson.Identity)
 SW_EXTERN @interface SWPersonIdentity : NSObject <NSSecureCoding, NSCopying>
 
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h	2022-07-22 10:06:38.000000000 -0400
@@ -9,6 +9,7 @@
      @class SWPersonIdentityProof
      @abstract Represents an opaque Merkle tree proof of inclusion. Inclusion hashes are provided to verify that the individual device has access to the document.
  */
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 NS_SWIFT_NAME(SWPerson.IdentityProof)
 SW_EXTERN @interface SWPersonIdentityProof : NSObject <NSSecureCoding, NSCopying>
 
@@ -34,6 +35,7 @@
 
 @end
 
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 NS_SWIFT_NAME(SWPerson.SignedIdentityProof)
 SW_EXTERN @interface SWSignedPersonIdentityProof : SWPersonIdentityProof
 
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h	2022-07-22 10:06:39.000000000 -0400
@@ -5,6 +5,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 SW_EXTERN @interface SWStartCollaborationAction : SWAction <NSSecureCoding, NSCopying>
 
 @property (nonatomic, readonly) SWCollaborationMetadata *collaborationMetadata;
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h	2022-07-22 10:06:39.000000000 -0400
@@ -13,6 +13,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+API_AVAILABLE(ios(16.0), macos(13.0)) API_UNAVAILABLE(watchos, tvos)
 @interface SWUpdateCollaborationParticipantsAction : SWAction <NSSecureCoding, NSCopying>
 
 @property (nonatomic, readonly) SWCollaborationMetadata *collaborationMetadata;
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h	2022-06-29 02:34:36.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h	2022-07-20 05:20:20.000000000 -0400
@@ -21,6 +21,7 @@
 #import <SharedWithYouCore/SWCollaborationCoordinator.h>
 #import <SharedWithYouCore/SWCollaborationOption.h>
 #import <SharedWithYouCore/SWCollaborationOptionsGroup.h>
+#import <SharedWithYouCore/SWCollaborationOptionsPickerGroup.h>
 #import <SharedWithYouCore/SWCollaborationShareOptions.h>
 #import <SharedWithYouCore/SWCollaborationMetadata.h>
 #import <SharedWithYouCore/SWPerson.h>
Clone this wiki locally