Skip to content

Contacts macOS xcode13.3 beta2

Alex Soto edited this page Mar 7, 2022 · 2 revisions

#Contacts.framework https://github.com/xamarin/xamarin-macios/pull/14325

diff -ruN /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h	2022-01-25 12:58:13.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNError.h	2022-02-03 17:10:47.000000000 -0500
@@ -28,7 +28,6 @@
     CNErrorCodeRecordIdentifierInvalid = 205,
     CNErrorCodeRecordNotWritable API_AVAILABLE(macos(10.14), ios(13.0), watchos(6.0)) = 206,
     CNErrorCodeParentContainerNotWritable API_AVAILABLE(macos(10.14), ios(13.0), watchos(6.0)) = 207,
-    CNErrorCodeFailedToDeleteRecord API_AVAILABLE(macos(12.3), ios(15.4), watchos(8.4)) = 208,
     
     CNErrorCodeValidationMultipleErrors = 300,
     CNErrorCodeValidationTypeMismatch = 301,
diff -ruN /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h
--- /Applications/Xcode_13.3.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h	2022-01-25 13:27:01.000000000 -0500
+++ /Applications/Xcode_13.3.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h	2022-02-04 13:42:52.000000000 -0500
@@ -121,6 +121,16 @@
  */
 @property (copy, nonatomic, nullable) NSString *transactionAuthor API_AVAILABLE(macos(12), ios(15));
 
+/*!
+ * @abstract    Should the contacts be refetched as part of executing the save request.
+ *
+ * @discussion  Default is `YES` where added and updated contacts are refetched by the executing save request.
+ *              Set to `NO` to suppress this refetch behavior and reduce the execution time of the save request.
+ *
+ * @note        If set to `NO` do not use the contacts after the executed save request as they may not be in a current state.
+ */
+@property (assign, nonatomic) BOOL shouldRefetchContacts API_AVAILABLE(macos(12.3), ios(15.4));
+
 @end
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally