Skip to content

Contacts macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#Contacts.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h	2021-08-09 03:22:42.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h	2021-08-03 21:51:44.000000000 -0400
@@ -13,7 +13,7 @@
 @class CNContact;
 @class CNGroup;
 
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryEvent : NSObject <NSCopying, NSSecureCoding>
 
 - (void)acceptEventVisitor:(id<CNChangeHistoryEventVisitor>)visitor;
@@ -21,78 +21,78 @@
 @end
 
 /// Drop all cached information your app has persisted
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryDropEverythingEvent : CNChangeHistoryEvent
 @end
 
 /// A contact was added
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryAddContactEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNContact * contact;
 @property (readonly, strong, nonatomic, nullable) NSString * containerIdentifier;
 @end
 
 /// A contact was updated
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryUpdateContactEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNContact * contact;
 @end
 
 /// A contact was removed
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryDeleteContactEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) NSString * contactIdentifier;
 @end
 
 /// A group was added
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryAddGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNGroup * group;
 @property (readonly, strong, nonatomic) NSString * containerIdentifier;
 @end
 
 /// A group was updated
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryUpdateGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNGroup * group;
 @end
 
 /// A group was deleted
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryDeleteGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) NSString * groupIdentifier;
 @end
 
 /// A contact was added to a group
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryAddMemberToGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNContact * member;
 @property (readonly, strong, nonatomic) CNGroup * group;
 @end
 
 /// A contact was removed from a group
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryRemoveMemberFromGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNContact * member;
 @property (readonly, strong, nonatomic) CNGroup * group;
 @end
 
 /// A subgroup was added to a group
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryAddSubgroupToGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNGroup * subgroup;
 @property (readonly, strong, nonatomic) CNGroup * group;
 @end
 
 /// A subgroup was removed from a group
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @interface CNChangeHistoryRemoveSubgroupFromGroupEvent : CNChangeHistoryEvent
 @property (readonly, strong, nonatomic) CNGroup * subgroup;
 @property (readonly, strong, nonatomic) CNGroup * group;
 @end
 
 
-API_AVAILABLE(macos(10.15), ios(13.0), watchos(6.0))
+API_AVAILABLE(macosx(10.15), ios(13.0), watchos(6.0))
 @protocol CNChangeHistoryEventVisitor <NSObject>
 
 - (void)visitDropEverythingEvent:(CNChangeHistoryDropEverythingEvent *)event;
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h	2021-08-07 05:22:17.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h	2021-08-03 21:51:45.000000000 -0400
@@ -43,8 +43,7 @@
     CNErrorCodeClientIdentifierCollision = 602,
     CNErrorCodeChangeHistoryExpired = 603,
     CNErrorCodeChangeHistoryInvalidAnchor = 604,
-    CNErrorCodeChangeHistoryInvalidFetchRequest = 605,
-
+    
     CNErrorCodeVCardMalformed NS_ENUM_AVAILABLE(10_13, 11_0) = 700,
     CNErrorCodeVCardSummarizationError NS_ENUM_AVAILABLE(10_14, 12_0) = 701,
     
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h	2021-08-06 23:47:09.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h	2021-08-03 21:51:46.000000000 -0400
@@ -22,7 +22,8 @@
  * If updating/deleting an object (contact, group, container) and it is not in the contact store then the executing save request will fail to update/delete that object and will return the error CNErrorCodeRecordDoesNotExist with CNErrorUserInfoAffectedRecordsKey value as an array containing that object.
  *
  */
-API_AVAILABLE(macos(10.11), ios(9)) __WATCHOS_PROHIBITED
+NS_CLASS_AVAILABLE(10_11, 9_0)
+__WATCHOS_PROHIBITED
 @interface CNSaveRequest : NSObject
 
 /*!
@@ -113,14 +114,6 @@
  */
 - (void)removeMember:(CNContact *)contact fromGroup:(CNGroup *)group;
 
-/*!
- * @abstract    The author of this transaction.
- *
- * @discussion  Use this, in conjunction with @c CNChangeHistoryFetchRequest.excludedTransactionAuthors,
- *              to suppress fetching of changes the author already knows about.
- */
-@property (copy, nonatomic, nullable) NSString *transactionAuthor API_AVAILABLE(macos(12), ios(15));
-
 @end
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally