-
Notifications
You must be signed in to change notification settings - Fork 516
SharedWithYouCore tvOS xcode14.0 beta2
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-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWAction.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,19 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+SW_EXTERN
+@interface SWAction : NSObject <NSCopying, NSSecureCoding>
+
+@property (nonatomic, readonly) NSUUID *uuid;
+@property (nonatomic, readonly, getter=isComplete) BOOL complete;
+
+- (void)fulfill;
+- (void)fail;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationActionHandler.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,18 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+#import <SharedWithYouCore/SWAction.h>
+
+@class SWCollaborationCoordinator;
+@class SWStartCollaborationAction;
+@class SWUpdateCollaborationParticipantsAction;
+
+NS_ASSUME_NONNULL_BEGIN
+
+@protocol SWCollaborationActionHandler <NSObject>
+- (void)collaborationCoordinator:(SWCollaborationCoordinator *)coordinator handleStartCollaborationAction:(SWStartCollaborationAction *)action;
+- (void)collaborationCoordinator:(SWCollaborationCoordinator *)coordinator handleUpdateCollaborationParticipantsAction:(SWUpdateCollaborationParticipantsAction *)action;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationCoordinator.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,17 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWCollaborationActionHandler.h>
+#import <SharedWithYouCore/SWDefines.h>
+#import <SharedWithYouCore/SWAction.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+SW_EXTERN @interface SWCollaborationCoordinator : NSObject
+
+@property (class, nonatomic, strong, readonly) SWCollaborationCoordinator *sharedCoordinator;
+@property (nonatomic, weak, readwrite) id<SWCollaborationActionHandler> actionHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationMetadata.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,72 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class SWCollaborationOptionsGroup;
+@class SWCollaborationShareOptions;
+
+/*!
+ @abstract Represents a globally unique identifier for a single collaboration item.
+*/
+typedef NSString *SWCollaborationIdentifier NS_TYPED_EXTENSIBLE_ENUM;
+
+
+/*!
+ @abstract Represents a locally unique identifier for a collaboration item
+*/
+typedef NSString *SWLocalCollaborationIdentifier NS_TYPED_EXTENSIBLE_ENUM;
+
+
+SW_EXTERN @interface SWCollaborationMetadata : NSObject <NSSecureCoding, NSCopying, NSMutableCopying>
+
+/*!
+ @abstract Globally unique identifier for the item represented by this metadata.
+ @discussion This identifier is unique across platforms and shares of the same item.
+*/
+@property (copy, readonly, nonatomic) SWCollaborationIdentifier collaborationIdentifier;
+
+/*!
+ @abstract Locally unique identifier for the item represented by this metadata.
+ @discussion Use this identifier to uniquely identify this metadata before a collaborationIdentifier can be created
+*/
+@property (copy, readonly, nonatomic) SWLocalCollaborationIdentifier localIdentifier;
+
+/*!
+ @abstract Title of the content.
+ @discussion Title of the collaboration if provided by the app which owns the collaboration item.
+ */
+@property (copy, readwrite, nonatomic, nullable) NSString *title;
+
+/*!
+ @abstract The collaboration options that this content supports (updated).
+ */
+@property (copy, readwrite, nonatomic, nullable) SWCollaborationShareOptions *defaultShareOptions;
+
+/*!
+ @abstract The collaboration options that the user selected when sending the invite (updated).
+ */
+@property (copy, readwrite, nonatomic, nullable) SWCollaborationShareOptions *userSelectedShareOptions;
+
+/*!
+ @abstract The handle of the person initiating the collaboration, e.g. an email address or phone number.
+ @discussion Set by the initiating application to allow the user to confirm the handle being used before beginning collaboration. Value will not be transmitted to recipients, and will be nil when not initiating collaboration.
+ */
+@property (copy, readwrite, nonatomic, nullable) NSString *initiatorHandle;
+
+/*!
+ @abstract The name of the person initiating the collaboration.
+ @discussion Set by the initiating application to allow the user to confirm the name being used before beginning collaboration. Value will not be transmitted to recipients, and will be nil when not initiating collaboration.
+ */
+@property (strong, readwrite, nonatomic, nullable) NSPersonNameComponents *initiatorNameComponents;
+
+- (instancetype)initWithLocalIdentifier:(SWLocalCollaborationIdentifier)localIdentifier;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOption.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOption.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOption.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOption.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,58 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+/*!
+ @class SWCollaborationOption
+ @abstract Represents a collaboration option which determines how the document should be shared
+ @discussion SWCollaborationOptions represents the different permissions the document can be shared with in the CSCollaborationOptionsView
+ */
+SW_EXTERN @interface SWCollaborationOption : NSObject <NSCopying, NSSecureCoding>
+
+/*!
+ @abstract Localized string displayed as text to represent the option in the CSCollaborationOptionsView
+ */
+@property (nonatomic, copy) NSString *title;
+
+/*!
+ @abstract Unique identifier
+ */
+@property (nonatomic, copy, readonly) NSString *identifier;
+
+/*!
+ @abstract Localized string that describes the option in the CSCollaborationOptionsView
+ */
+@property (nonatomic, copy) NSString *subtitle;
+
+/*!
+ @abstract A bool representing the currently selected/switched on option item. This property should only be manually set on the option for switches.
+ */
+@property (nonatomic, assign, getter=isSelected) BOOL selected; // defaults to NO
+
+/*!
+ @abstract Array of option identifiers that must already be selected in order for the option to be interactable
+ */
+@property (nonatomic, copy) NSArray<NSString *> *requiredOptionsIdentifiers;
+
+/*!
+ @abstract Designated initializer to initialize a new collaboration option with the given title string and unique identifier
+ @param title localized string displayed as text to represent the option in the CSCollaborationOptionsView
+ @param identifier The unique identifier for the option
+*/
+- (instancetype)initWithTitle:(NSString *)title identifier:(NSString *)identifier NS_DESIGNATED_INITIALIZER NS_SWIFT_UNAVAILABLE("Use SWCollaborationOption.init(title:identifier:subtitle:selected:requiredOptionsIdentifiers:) instead");
+
+- (nullable instancetype)initWithCoder:(NSCoder *)coder;
+- (instancetype)init NS_UNAVAILABLE;
+
+/*!
+ @abstract Creates a new collaboration option with the given title string and unique identifier
+ @param title localized string displayed as text to represent the option in the CSCollaborationOptionsView
+ @param identifier the unique identifier for the option
+*/
++ (SWCollaborationOption *)optionWithTitle:(NSString *)title identifier:(NSString *)identifier;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsGroup.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsGroup.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsGroup.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationOptionsGroup.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,60 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <SharedWithYouCore/SWDefines.h>
+
+@class SWCollaborationOption;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @abstract String identifier used to initialize a UTType to represent the type of the array of SWCollaborationOptionsGroups when registering to and reading from the NSItemProvider
+ */
+SW_EXTERN NSString * const UTCollaborationOptionsTypeIdentifier;
+
+/*!
+ @class SWCollaborationOptionsGroup
+ @abstract represents a group of SWCollaborationOptions that should be grouped together and displayed in the same section in the CSCollaborationOptionsView
+ @discussion SWCollaborationOptionsGroups group together options which represent the ways which the document can be shared and indicates a section of CSCollaborationOptionsView. A SWCollaborationOptionsGroup with one option indicates a switch.
+ */
+SW_EXTERN @interface SWCollaborationOptionsGroup : NSObject <NSCopying, NSSecureCoding>
+
+/*!
+ @abstract Localized string used to title the section
+ */
+@property (nonatomic, copy) NSString *title;
+/*!
+ @abstract Unique identifier
+ */
+@property (nonatomic, copy, readonly) NSString *identifier;
+
+/*!
+ @abstract Localized string to describe or provide additional information on the group of options
+ */
+@property (nonatomic, copy) NSString *footer;
+
+/*!
+ @abstract SWCollaborationOptions to be displayed in the section
+ */
+@property (nonatomic, copy) NSArray<SWCollaborationOption *> *options;
+
+
+/*!
+ @abstract Initializes group of options which will be displayed as one section in CSCollaborationOptionsView
+ @param identifier unique identifier for the SWCollaborationOptionGroup
+ @param options SWCollaborationOptions to display in the section
+*/
+- (instancetype)initWithIdentifier:(NSString *)identifier options:(NSArray<SWCollaborationOption *> *)options NS_DESIGNATED_INITIALIZER;
+
+/*!
+ @abstract Creates group of options which will be displayed as one section in CSCollaborationOptionsView
+ @param identifier unique identifier for the SWCollaborationOptionGroup
+ @param options SWCollaborationOptions to display in the section
+*/
++ (SWCollaborationOptionsGroup *)optionsGroupWithIdentifier:(NSString *)identifier options:(NSArray<SWCollaborationOption *> *)options;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationShareOptions.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationShareOptions.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationShareOptions.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWCollaborationShareOptions.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,59 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+@class SWCollaborationOptionsGroup;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class SWCollaborationShareOptions
+ @abstract represents the state of the collaboration options for the document.
+ @discussion SWCollaborationShareOptions contains the SWCollaborationOptionsGorups that are available for the collaboration as well as a string, provided by the client, that summarizes the state of the selected options.
+ */
+SW_EXTERN @interface SWCollaborationShareOptions : NSObject <NSCopying, NSSecureCoding>
+
+/*!
+ @abstract SWCollaborationOptionsGroups to customize how the collaboration will be shared
+ */
+@property (nonatomic, copy) NSArray<SWCollaborationOptionsGroup *> *optionsGroups;
+
+/*!
+ @abstract Localized string to summarize the selected collaboration options. If nil, "Share Options" will be displayed by default.
+ */
+@property (nonatomic, copy) NSString *summary;
+
+/*!
+ @abstract Initializes a shareOptions object to represent the available collaboration options for the document and a summary of the selected options
+ @param optionsGroups SWCollaborationOptionsGroups to customize how the collaboration will be shared
+ @param summary localized string to summarize the selected collaboration options
+*/
+- (instancetype)initWithOptionsGroups:(NSArray<SWCollaborationOptionsGroup *> *)optionsGroups summary:(NSString *)summary NS_DESIGNATED_INITIALIZER;
+
+/*!
+ @abstract Initializes a shareOptions object to represent the available collaboration options for the document and the default summary string "Share Options"
+ @param optionsGroups SWCollaborationOptionsGroups to customize how the collaboration will be shared
+*/
+- (instancetype)initWithOptionsGroups:(NSArray<SWCollaborationOptionsGroup *> *)optionsGroups;
+
+/*!
+ @abstract Creates a shareOptions object to represent the available collaboration options for the document and a summary of the selected options
+ @param optionsGroups SWCollaborationOptionsGroups to customize how the collaboration will be shared
+ @param summary localized string to summarize the selected collaboration options
+*/
++ (SWCollaborationShareOptions *)shareOptionsWithOptionsGroups:(NSArray<SWCollaborationOptionsGroup *> *)optionsGroups summary:(NSString *)summary;
+
+/*!
+ @abstract Creates a shareOptions object to represent the available collaboration options for the document and a summary of the selected options
+ @param optionsGroups SWCollaborationOptionsGroups to customize how the collaboration will be shared
+*/
+
++ (SWCollaborationShareOptions *)shareOptionsWithOptionsGroups:(NSArray<SWCollaborationOptionsGroup *> *)optionsGroups;
+
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWDefines.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWDefines.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWDefines.h 2022-05-27 00:11:20.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWDefines.h 2022-06-13 02:59:31.000000000 -0400
@@ -2,7 +2,7 @@
// SWDefines.h
// SWDefines
//
-// Copyright (c) 2022 Apple. All rights reserved.
+// Copyright © 2021 Apple Inc. All rights reserved.
//
#import <TargetConditionals.h>
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPerson.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,31 @@
+//
+// SWPerson.h
+// SocialLayer
+//
+// Created by Andrew Whitehead on 1/31/22.
+//
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class SWPersonIdentity;
+
+SW_EXTERN @interface SWPerson : NSObject <NSSecureCoding>
+
+/*!
+ @abstract An initializer
+ @param handle The phone number or email address for this person.
+ @param identity The identity of this person.
+ @param displayName The name of this person.
+ @param thumbnailImageData Optional thumbnail image data for this person. If nil, this will be inferred by the system.
+ */
+- (instancetype)initWithHandle:(nullable NSString *)handle identity:(nullable SWPersonIdentity *)identity displayName:(NSString *)displayName thumbnailImageData:(nullable NSData *)thumbnailImageData;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentity.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,33 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @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.
+ */
+NS_SWIFT_NAME(SWPerson.Identity)
+SW_EXTERN @interface SWPersonIdentity : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @abstract The root hash of the tree that represents this individual's identity.
+ @discussion The data contains a SHA256 hash of the user's combined public identities.
+*/
+@property (nonatomic, readonly, copy) NSData *rootHash;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ @abstract An initializer
+ @param rootHash The root hash of the tree that represents this individual's identity.
+ @discussion The data contains a SHA256 hash of the user's combined public identities.
+ */
+- (instancetype)initWithRootHash:(NSData *)rootHash;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWPersonIdentityProof.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,49 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <Foundation/Foundation.h>
+#import <SharedWithYouCore/SWDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @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.
+ */
+NS_SWIFT_NAME(SWPerson.IdentityProof)
+SW_EXTERN @interface SWPersonIdentityProof : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @abstract Hashes of missing Merkle tree nodes that can provide proof of inclusion.
+ @discussion The data contains an array of SHA256 hash of the user's combined public identities.
+*/
+@property (nonatomic, readonly, copy) NSArray<NSData *> *inclusionHashes;
+
+/*!
+ @abstract Public key of local device
+*/
+@property (nonatomic, readonly, copy) NSData *publicKey;
+
+/*!
+ @abstract Index of local public key in the Merkle tree
+ @discussion This data can be used to determine if the node is the left or the right child
+*/
+@property (nonatomic, readonly, assign) NSUInteger publicKeyIndex;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_SWIFT_NAME(SWPerson.SignedIdentityProof)
+SW_EXTERN @interface SWSignedPersonIdentityProof : SWPersonIdentityProof
+
+- (instancetype)initWithPersonIdentityProof:(SWPersonIdentityProof *)personIdentityProof signatureData:(NSData *)data;
+
+/*!
+ @abstract The signature created by signing the data with this identity.
+*/
+@property (nonatomic, readonly, copy) NSData *signatureData;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWStartCollaborationAction.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,19 @@
+// Copyright (c) 2022 Apple. All rights reserved.
+
+#import <SharedWithYouCore/SWAction.h>
+#import <SharedWithYouCore/SWCollaborationMetadata.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+SW_EXTERN @interface SWStartCollaborationAction : SWAction <NSSecureCoding, NSCopying>
+
+@property (nonatomic, readonly) SWCollaborationMetadata *collaborationMetadata;
+
+- (void)fulfillUsingURL:(NSURL *)url collaborationIdentifier:(SWCollaborationIdentifier)collaborationIdentifier;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SWUpdateCollaborationParticipantsAction.h 2022-06-13 02:59:31.000000000 -0400
@@ -0,0 +1,29 @@
+//
+// SWUpdateCollaborationParticipantsAction.h
+// SharedWithYouCore
+//
+// Created by Devin Clary on 3/23/22.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <SharedWithYouCore/SWAction.h>
+#import <SharedWithYouCore/SWCollaborationMetadata.h>
+#import <SharedWithYouCore/SWPersonIdentity.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface SWUpdateCollaborationParticipantsAction : SWAction <NSSecureCoding, NSCopying>
+
+@property (nonatomic, readonly) SWCollaborationMetadata *collaborationMetadata;
+
+@property (nonatomic, readonly) NSArray<SWPersonIdentity *> *addedIdentities;
+
+@property (nonatomic, readonly) NSArray<SWPersonIdentity *> *removedIdentities;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h 2022-05-27 00:11:20.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/SharedWithYouCore.framework/Headers/SharedWithYouCore.h 2022-06-13 02:59:31.000000000 -0400
@@ -2,7 +2,7 @@
// SharedWithYouCore.h
// SharedWithYouCore
//
-// Copyright (c) 2022 Apple. All rights reserved.
+// Created by Elana Stettin on 1/27/22.
//
#import <Foundation/Foundation.h>
@@ -15,3 +15,16 @@
// In this header, you should import all the public headers of your framework using statements like #import <SharedWithYouCore/PublicHeader.h>
#import <SharedWithYouCore/SWDefines.h>
+
+#import <SharedWithYouCore/SWAction.h>
+#import <SharedWithYouCore/SWCollaborationActionHandler.h>
+#import <SharedWithYouCore/SWCollaborationCoordinator.h>
+#import <SharedWithYouCore/SWCollaborationOption.h>
+#import <SharedWithYouCore/SWCollaborationOptionsGroup.h>
+#import <SharedWithYouCore/SWCollaborationShareOptions.h>
+#import <SharedWithYouCore/SWCollaborationMetadata.h>
+#import <SharedWithYouCore/SWPerson.h>
+#import <SharedWithYouCore/SWPersonIdentity.h>
+#import <SharedWithYouCore/SWPersonIdentityProof.h>
+#import <SharedWithYouCore/SWStartCollaborationAction.h>
+#import <SharedWithYouCore/SWUpdateCollaborationParticipantsAction.h>
- 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