-
Notifications
You must be signed in to change notification settings - Fork 507
CloudKit iOS xcode15.0 b2
Manuel de la Pena edited this page Aug 22, 2023
·
3 revisions
#CloudKit.framework https://github.com/xamarin/xamarin-macios/pull/18786
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAcceptSharesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAcceptSharesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAcceptSharesOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAcceptSharesOperation.h 2023-06-12 01:40:14
@@ -19,7 +19,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithShareMetadatas:(NSArray<CKShareMetadata *> *)shareMetadatas;
-@property (nonatomic, copy, nullable) NSArray<CKShareMetadata *> *shareMetadatas;
+@property (nullable, copy, nonatomic) NSArray<CKShareMetadata *> *shareMetadatas;
/*! @abstract Called once for each share metadata that the server processed
*
@@ -28,7 +28,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perShareCompletionBlock)(CKShareMetadata *shareMetadata, CKShare * _Nullable acceptedShare, NSError * _Nullable error)
+@property (nullable, copy, nonatomic) void (^perShareCompletionBlock)(CKShareMetadata *shareMetadata, CKShare * _Nullable acceptedShare, NSError * _Nullable error)
CK_SWIFT_DEPRECATED("Use perShareResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
/*! @abstract This block is called when the operation completes.
@@ -39,7 +39,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^acceptSharesCompletionBlock)(NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^acceptSharesCompletionBlock)(NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use acceptSharesResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAllowedSharingOptions.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAllowedSharingOptions.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAllowedSharingOptions.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAllowedSharingOptions.h 2023-06-12 01:40:13
@@ -40,14 +40,14 @@
@interface CKAllowedSharingOptions : NSObject <NSSecureCoding, NSCopying>
- (instancetype)initWithAllowedParticipantPermissionOptions:(CKSharingParticipantPermissionOption)allowedParticipantPermissionOptions allowedParticipantAccessOptions:(CKSharingParticipantAccessOption)allowedParticipantAccessOptions;
-@property (atomic, assign) CKSharingParticipantPermissionOption allowedParticipantPermissionOptions;
-@property (atomic, assign) CKSharingParticipantAccessOption allowedParticipantAccessOptions;
+@property (assign) CKSharingParticipantPermissionOption allowedParticipantPermissionOptions;
+@property (assign) CKSharingParticipantAccessOption allowedParticipantAccessOptions;
/*!
Standard allowed options are most permissive i.e. @c allowedParticipantPermissionOptions = @c CKSharingParticipantPermissionOptionAny
and @c allowedParticipantAccessOptions = @c CKSharingParticipantAccessOptionAny
*/
-@property (class, nonatomic, strong, readonly) CKAllowedSharingOptions *standardOptions;
+@property (class, readonly, strong, nonatomic) CKAllowedSharingOptions *standardOptions;
@end
NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAsset.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAsset.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAsset.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKAsset.h 2023-06-12 01:40:13
@@ -21,7 +21,7 @@
- (instancetype)initWithFileURL:(NSURL *)fileURL;
/*! Local file URL where fetched records are cached and saved records originate from. */
-@property (atomic, readonly, copy, nullable) NSURL *fileURL;
+@property (nullable, readonly, copy) NSURL *fileURL;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKContainer.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKContainer.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKContainer.h 2023-05-19 22:14:14
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKContainer.h 2023-06-12 01:38:23
@@ -52,7 +52,7 @@
*/
+ (CKContainer *)containerWithIdentifier:(NSString *)containerIdentifier;
-@property (nonatomic, readonly, copy, nullable) NSString *containerIdentifier;
+@property (nullable, readonly, copy, nonatomic) NSString *containerIdentifier;
- (void)addOperation:(CKOperation *)operation;
@@ -76,9 +76,9 @@
*/
@interface CKContainer (Database)
-@property (nonatomic, readonly) CKDatabase *privateCloudDatabase;
-@property (nonatomic, readonly) CKDatabase *publicCloudDatabase;
-@property (nonatomic, readonly) CKDatabase *sharedCloudDatabase API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
+@property (readonly, strong, nonatomic) CKDatabase *privateCloudDatabase;
+@property (readonly, strong, nonatomic) CKDatabase *publicCloudDatabase;
+@property (readonly, strong, nonatomic) CKDatabase *sharedCloudDatabase API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
/*! @abstract Convenience methods
*
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabase.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabase.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabase.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabase.h 2023-06-13 02:19:53
@@ -26,7 +26,7 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (void)addOperation:(CKDatabaseOperation *)operation;
-@property (nonatomic, readonly, assign) CKDatabaseScope databaseScope API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
+@property (readonly, assign, nonatomic) CKDatabaseScope databaseScope API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
@end
/*! @abstract Convenience APIs
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabaseOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabaseOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabaseOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDatabaseOperation.h 2023-06-12 01:40:13
@@ -19,7 +19,7 @@
* @discussion If no database is set, @code [self.container privateCloudDatabase] @endcode is used.
* This will also set the container property of the operation's configuration to match the container of the passed-in database.
*/
-@property (nonatomic, strong, nullable) CKDatabase *database;
+@property (nullable, strong, nonatomic) CKDatabase *database;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverAllUserIdentitiesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverAllUserIdentitiesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverAllUserIdentitiesOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverAllUserIdentitiesOperation.h 2023-06-12 01:40:14
@@ -31,7 +31,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^userIdentityDiscoveredBlock)(CKUserIdentity *identity);
+@property (nullable, copy, nonatomic) void (^userIdentityDiscoveredBlock)(CKUserIdentity *identity);
/*! @abstract This block is called when the operation completes.
*
@@ -40,7 +40,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^discoverAllUserIdentitiesCompletionBlock)(NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^discoverAllUserIdentitiesCompletionBlock)(NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use discoverAllUserIdentitiesResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverUserIdentitiesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverUserIdentitiesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverUserIdentitiesOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKDiscoverUserIdentitiesOperation.h 2023-06-12 01:40:14
@@ -19,7 +19,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithUserIdentityLookupInfos:(NSArray<CKUserIdentityLookupInfo *> *)userIdentityLookupInfos;
-@property (nonatomic, copy) NSArray<CKUserIdentityLookupInfo *> *userIdentityLookupInfos;
+@property (copy, nonatomic) NSArray<CKUserIdentityLookupInfo *> *userIdentityLookupInfos;
/*! @abstract Called once for each user identity lookup info that was successfully discovered on the server
*
@@ -27,7 +27,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^userIdentityDiscoveredBlock)(CKUserIdentity *identity, CKUserIdentityLookupInfo * lookupInfo);
+@property (nullable, copy, nonatomic) void (^userIdentityDiscoveredBlock)(CKUserIdentity *identity, CKUserIdentityLookupInfo * lookupInfo);
/*! @abstract This block is called when the operation completes.
*
@@ -36,7 +36,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^discoverUserIdentitiesCompletionBlock)(NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^discoverUserIdentitiesCompletionBlock)(NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use discoverUserIdentitiesResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKError.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKError.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKError.h 2023-05-19 22:09:54
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKError.h 2023-06-13 02:26:17
@@ -21,9 +21,30 @@
*/
CK_EXTERN NSString * const CKPartialErrorsByItemIDKey;
-/*! If the server rejects a record save because it has been modified since the last time it was read, a @c CKErrorServerRecordChanged error will be returned and it will contain versions of the record in its userInfo dictionary. Apply your custom conflict resolution logic to the server record under @c CKServerRecordKey and attempt a save of that record. */
+/*! If the server rejects a record save because it has been modified since the last time it was read,
+ * a @c CKErrorServerRecordChanged will be returned. The error's @c userInfo dictionary will contain
+ * a @c CKRecord keyed by @c CKRecordChangedErrorAncestorRecordKey. This is the original
+ * record used as a basis for making your changes.
+ *
+ * Note that if you had attempted to save a new @c CKRecord instance, this record may not have any
+ * key / value pairs set on it, as there was no @c CKRecord instance that represents an ancestor point.
+ */
CK_EXTERN NSString * const CKRecordChangedErrorAncestorRecordKey;
+
+/*! If the server rejects a record save because it has been modified since the last time it was read,
+ * a @c CKErrorServerRecordChanged will be returned. The error's @c userInfo dictionary will contain
+ * a @c CKRecord keyed by @c CKRecordChangedErrorServerRecordKey. This is the record
+ * object that was found on the server.
+ *
+ * Use this record as the basis for merging your changes.
+ */
CK_EXTERN NSString * const CKRecordChangedErrorServerRecordKey;
+
+/*! If the server rejects a record save because it has been modified since the last time it was read,
+ * a @c CKErrorServerRecordChanged will be returned. The error's @c userInfo dictionary will contain
+ * a @c CKRecord keyed by @c CKRecordChangedErrorClientRecordKey. This is the record
+ * object that you tried to save.
+ */
CK_EXTERN NSString * const CKRecordChangedErrorClientRecordKey;
/* On error CKErrorZoneNotFound, the userInfo dictionary may contain a NSNumber instance that specifies a boolean value representing if the error is caused by the user having reset all encrypted data for their account */
@@ -142,7 +163,9 @@
CKErrorAssetNotAvailable API_AVAILABLE(macos(10.13), ios(11.3), tvos(11.3), watchos(4.3)) = 35,
/*! The current account is in a state that may need user intervention to recover from. The user should be directed to check the Settings app. Listen for CKAccountChangedNotifications to know when to re-check account status and retry. */
- CKErrorAccountTemporarilyUnavailable API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) = 36
+ CKErrorAccountTemporarilyUnavailable API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) = 36,
+
+
};
API_AVAILABLE_END // (macos(10.10), ios(8.0), watchos(3.0))
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchDatabaseChangesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchDatabaseChangesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchDatabaseChangesOperation.h 2023-05-19 22:26:55
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchDatabaseChangesOperation.h 2023-06-13 02:26:17
@@ -27,8 +27,8 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithPreviousServerChangeToken:(nullable CKServerChangeToken *)previousServerChangeToken;
-@property (nonatomic, copy, nullable) CKServerChangeToken *previousServerChangeToken;
-@property (nonatomic, assign) NSUInteger resultsLimit;
+@property (nullable, copy, nonatomic) CKServerChangeToken *previousServerChangeToken;
+@property (assign, nonatomic) NSUInteger resultsLimit;
/*! @discussion When set to YES, this operation will send repeated requests to the server until all record zone changes have been fetched.
*
@@ -39,19 +39,19 @@
* Blocks assigned to this operation may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, assign) BOOL fetchAllChanges;
+@property (assign, nonatomic) BOOL fetchAllChanges;
/*! @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordZoneWithIDChangedBlock)(CKRecordZoneID *zoneID);
+@property (nullable, copy, nonatomic) void (^recordZoneWithIDChangedBlock)(CKRecordZoneID *zoneID);
/*! @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordZoneWithIDWasDeletedBlock)(CKRecordZoneID *zoneID);
+@property (nullable, copy, nonatomic) void (^recordZoneWithIDWasDeletedBlock)(CKRecordZoneID *zoneID);
/*! @abstract If this block is set it will be called instead of @c recordZoneWithIDWasDeletedBlock if the user deleted this zone via the iCloud storage UI.
*
@@ -60,7 +60,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordZoneWithIDWasPurgedBlock)(CKRecordZoneID *zoneID) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
+@property (nullable, copy, nonatomic) void (^recordZoneWithIDWasPurgedBlock)(CKRecordZoneID *zoneID) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
/*! @abstract If this block is set it will be called instead of @c recordZoneWithIDWasDeletedBlock if the user chose to reset all encrypted data for their account.
*
@@ -69,13 +69,13 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock)(CKRecordZoneID *zoneID) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nullable, copy, nonatomic) void (^recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock)(CKRecordZoneID *zoneID) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
/*! @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^changeTokenUpdatedBlock)(CKServerChangeToken * serverChangeToken);
+@property (nullable, copy, nonatomic) void (^changeTokenUpdatedBlock)(CKServerChangeToken * serverChangeToken);
/*! @abstract This block is called when the operation completes.
*
@@ -86,7 +86,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchDatabaseChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, BOOL moreComing, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^fetchDatabaseChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, BOOL moreComing, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use fetchDatabaseChangesResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchNotificationChangesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchNotificationChangesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchNotificationChangesOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchNotificationChangesOperation.h 2023-06-12 01:40:14
@@ -25,16 +25,16 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithPreviousServerChangeToken:(nullable CKServerChangeToken *)previousServerChangeToken;
-@property (nonatomic, copy, nullable) CKServerChangeToken *previousServerChangeToken;
+@property (nullable, copy, nonatomic) CKServerChangeToken *previousServerChangeToken;
-@property (nonatomic, assign) NSUInteger resultsLimit;
+@property (assign, nonatomic) NSUInteger resultsLimit;
/*! @abstract If true, then the server wasn't able to return all the changes in this response.
*
* @discussion Will be set before @c fetchNotificationChangesCompletionBlock is called.
* Another @c CKFetchNotificationChangesOperation operation should be run with the updated @c serverChangeToken token from this operation.
*/
-@property (nonatomic, readonly, assign) BOOL moreComing;
+@property (readonly, assign, nonatomic) BOOL moreComing;
/*! @abstract Called once for each updated notification fetch from the server
*
@@ -42,7 +42,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^notificationChangedBlock)(CKNotification *notification);
+@property (nullable, copy, nonatomic) void (^notificationChangedBlock)(CKNotification *notification);
/*! @abstract This block is called when the operation completes.
*
@@ -53,7 +53,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchNotificationChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, NSError * _Nullable operationError);
+@property (nullable, copy, nonatomic) void (^fetchNotificationChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, NSError * _Nullable operationError);
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordChangesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordChangesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordChangesOperation.h 2023-05-19 22:09:54
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordChangesOperation.h 2023-06-13 02:19:53
@@ -30,36 +30,36 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRecordZoneID:(CKRecordZoneID *)recordZoneID previousServerChangeToken:(nullable CKServerChangeToken *)previousServerChangeToken;
-@property (nonatomic, copy, nullable) CKRecordZoneID *recordZoneID;
-@property (nonatomic, copy, nullable) CKServerChangeToken *previousServerChangeToken;
+@property (nullable, copy, nonatomic) CKRecordZoneID *recordZoneID;
+@property (nullable, copy, nonatomic) CKServerChangeToken *previousServerChangeToken;
-@property (nonatomic, assign) NSUInteger resultsLimit;
+@property (assign, nonatomic) NSUInteger resultsLimit;
/*! @abstract Declares which user-defined keys should be fetched and added to the resulting CKRecords.
*
* @discussion If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded.
* Defaults to @c nil.
*/
-@property (nonatomic, copy, nullable) NSArray<CKRecordFieldKey> *desiredKeys;
+@property (nullable, copy, nonatomic) NSArray<CKRecordFieldKey> *desiredKeys;
/*! @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordChangedBlock)(CKRecord *record);
+@property (nullable, copy, nonatomic) void (^recordChangedBlock)(CKRecord *record);
/*! @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordWithIDWasDeletedBlock)(CKRecordID *recordID);
+@property (nullable, copy, nonatomic) void (^recordWithIDWasDeletedBlock)(CKRecordID *recordID);
/*! @abstract If true, then the server wasn't able to return all the changes in this response.
*
* @discussion Will be set before fetchRecordChangesCompletionBlock is called.
* Another CKFetchRecordChangesOperation operation should be run with the updated serverChangeToken token from this operation.
*/
-@property (nonatomic, readonly, assign) BOOL moreComing;
+@property (readonly, assign, nonatomic) BOOL moreComing;
/*! @abstract This block is called when the operation completes.
*
@@ -71,7 +71,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchRecordChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData, NSError * _Nullable operationError);
+@property (nullable, copy, nonatomic) void (^fetchRecordChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData, NSError * _Nullable operationError);
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZoneChangesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZoneChangesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZoneChangesOperation.h 2023-05-19 22:26:55
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZoneChangesOperation.h 2023-06-10 02:20:58
@@ -26,8 +26,8 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRecordZoneIDs:(NSArray<CKRecordZoneID *> *)recordZoneIDs configurationsByRecordZoneID:(nullable NSDictionary<CKRecordZoneID *, CKFetchRecordZoneChangesConfiguration *> *)configurationsByRecordZoneID API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
-@property (nonatomic, copy, nullable) NSArray<CKRecordZoneID *> *recordZoneIDs;
-@property (nonatomic, copy, nullable) NSDictionary<CKRecordZoneID *, CKFetchRecordZoneChangesConfiguration *> *configurationsByRecordZoneID API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
+@property (nullable, copy, nonatomic) NSArray<CKRecordZoneID *> *recordZoneIDs;
+@property (nullable, copy, nonatomic) NSDictionary<CKRecordZoneID *, CKFetchRecordZoneChangesConfiguration *> *configurationsByRecordZoneID API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
/*! @abstract Determines if the operation should fetch all changes from the server before completing.
*
@@ -37,27 +37,27 @@
*
* @c fetchAllChanges is YES by default
*/
-@property (nonatomic, assign) BOOL fetchAllChanges;
+@property (assign, nonatomic) BOOL fetchAllChanges;
/*! @discussion If the replacement callback @c recordWasChangedBlock is set, this callback block is ignored.
* Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordChangedBlock)(CKRecord *record) API_DEPRECATED("Use recordWasChangedBlock instead, which surfaces per-record errors", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0));
+@property (nullable, copy, nonatomic) void (^recordChangedBlock)(CKRecord *record) API_DEPRECATED("Use recordWasChangedBlock instead, which surfaces per-record errors", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0));
/*! @discussion If a record fails in post-processing (say, a network failure materializing a @c CKAsset record field), the per-record error will be passed here.
* Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordWasChangedBlock)(CKRecordID *recordID, CKRecord * _Nullable record, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^recordWasChangedBlock)(CKRecordID *recordID, CKRecord * _Nullable record, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @discussion Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordWithIDWasDeletedBlock)(CKRecordID *recordID, CKRecordType recordType);
+@property (nullable, copy, nonatomic) void (^recordWithIDWasDeletedBlock)(CKRecordID *recordID, CKRecordType recordType);
/*! @discussion Clients are responsible for saving this per-recordZone @c serverChangeToken and passing it in to the next call to @c CKFetchRecordZoneChangesOperation.
* Note that a fetch can fail partway. If that happens, an updated change token may be returned in this block so that already fetched records don't need to be re-downloaded on a subsequent operation.
@@ -69,8 +69,8 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordZoneChangeTokensUpdatedBlock)(CKRecordZoneID *recordZoneID, CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData);
-@property (nonatomic, copy, nullable) void (^recordZoneFetchCompletionBlock)(CKRecordZoneID *recordZoneID, CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData, BOOL moreComing, NSError * _Nullable recordZoneError) CK_SWIFT_DEPRECATED("Use recordZoneFetchResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
+@property (nullable, copy, nonatomic) void (^recordZoneChangeTokensUpdatedBlock)(CKRecordZoneID *recordZoneID, CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData);
+@property (nullable, copy, nonatomic) void (^recordZoneFetchCompletionBlock)(CKRecordZoneID *recordZoneID, CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData, BOOL moreComing, NSError * _Nullable recordZoneError) CK_SWIFT_DEPRECATED("Use recordZoneFetchResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
/*! @abstract This block is called when the operation completes.
*
@@ -80,7 +80,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchRecordZoneChangesCompletionBlock)(NSError * _Nullable operationError) CK_SWIFT_DEPRECATED("Use fetchRecordZoneChangesResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
+@property (nullable, copy, nonatomic) void (^fetchRecordZoneChangesCompletionBlock)(NSError * _Nullable operationError) CK_SWIFT_DEPRECATED("Use fetchRecordZoneChangesResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
@@ -89,7 +89,7 @@
- (instancetype)initWithRecordZoneIDs:(NSArray<CKRecordZoneID *> *)recordZoneIDs optionsByRecordZoneID:(nullable NSDictionary<CKRecordZoneID *, CKFetchRecordZoneChangesOptions *> *)optionsByRecordZoneID
API_DEPRECATED_WITH_REPLACEMENT("initWithRecordZoneIDs:configurationsByRecordZoneID:", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0));
-@property (nonatomic, copy, nullable) NSDictionary<CKRecordZoneID *, CKFetchRecordZoneChangesOptions *> *optionsByRecordZoneID
+@property (nullable, copy, nonatomic) NSDictionary<CKRecordZoneID *, CKFetchRecordZoneChangesOptions *> *optionsByRecordZoneID
API_DEPRECATED_WITH_REPLACEMENT("configurationsByRecordZoneID", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0));
@end
@@ -99,25 +99,25 @@
// NS_SWIFT_SENDABLE on macos(13.3), macCatalyst(16.4), ios(16.4), tvos(16.4), watchos(9.4)
@interface CKFetchRecordZoneChangesConfiguration : NSObject <NSSecureCoding, NSCopying>
-@property (atomic, copy, nullable) CKServerChangeToken *previousServerChangeToken;
+@property (nullable, copy) CKServerChangeToken *previousServerChangeToken;
-@property (atomic, assign) NSUInteger resultsLimit;
+@property (assign) NSUInteger resultsLimit;
/*! @abstract Declares which user-defined keys should be fetched and added to the resulting CKRecords.
*
* @discussion If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded.
* Defaults to @c nil.
*/
-@property (atomic, copy, nullable) NSArray<CKRecordFieldKey> *desiredKeys;
+@property (nullable, copy) NSArray<CKRecordFieldKey> *desiredKeys;
@end
API_DEPRECATED_WITH_REPLACEMENT("CKFetchRecordZoneChangesConfiguration", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0))
@interface CKFetchRecordZoneChangesOptions : NSObject <NSSecureCoding, NSCopying>
-@property (nonatomic, copy, nullable) CKServerChangeToken *previousServerChangeToken;
-@property (nonatomic, assign) NSUInteger resultsLimit;
-@property (nonatomic, copy, nullable) NSArray<CKRecordFieldKey> *desiredKeys;
+@property (nullable, copy, nonatomic) CKServerChangeToken *previousServerChangeToken;
+@property (assign, nonatomic) NSUInteger resultsLimit;
+@property (nullable, copy, nonatomic) NSArray<CKRecordFieldKey> *desiredKeys;
@end
NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZonesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZonesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZonesOperation.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordZonesOperation.h 2023-06-12 01:40:13
@@ -19,7 +19,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRecordZoneIDs:(NSArray<CKRecordZoneID *> *)zoneIDs;
-@property (nonatomic, copy, nullable) NSArray<CKRecordZoneID *> *recordZoneIDs;
+@property (nullable, copy, nonatomic) NSArray<CKRecordZoneID *> *recordZoneIDs;
/*! @abstract Called on success or failure for each record zone.
*
@@ -27,7 +27,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordZoneCompletionBlock)(CKRecordZoneID *zoneID, CKRecordZone * _Nullable recordZone, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perRecordZoneCompletionBlock)(CKRecordZoneID *zoneID, CKRecordZone * _Nullable recordZone, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
@@ -39,7 +39,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchRecordZonesCompletionBlock)(NSDictionary<CKRecordZoneID *, CKRecordZone *> * _Nullable recordZonesByZoneID, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^fetchRecordZonesCompletionBlock)(NSDictionary<CKRecordZoneID *, CKRecordZone *> * _Nullable recordZonesByZoneID, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use fetchRecordZonesResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordsOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordsOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordsOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchRecordsOperation.h 2023-06-12 01:40:13
@@ -19,14 +19,14 @@
+ (instancetype)fetchCurrentUserRecordOperation;
-@property (nonatomic, copy, nullable) NSArray<CKRecordID *> *recordIDs;
+@property (nullable, copy, nonatomic) NSArray<CKRecordID *> *recordIDs;
/*! @abstract Declares which user-defined keys should be fetched and added to the resulting CKRecords.
*
* @discussion If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded.
* Defaults to @c nil.
*/
-@property (nonatomic, copy, nullable) NSArray<CKRecordFieldKey> *desiredKeys;
+@property (nullable, copy, nonatomic) NSArray<CKRecordFieldKey> *desiredKeys;
/*! @abstract Indicates the progress for each record.
*
@@ -36,7 +36,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordProgressBlock)(CKRecordID *recordID, double progress);
+@property (nullable, copy, nonatomic) void (^perRecordProgressBlock)(CKRecordID *recordID, double progress);
/*! @abstract Called on success or failure for each record.
*
@@ -44,7 +44,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordCompletionBlock)(CKRecord * _Nullable record, CKRecordID * _Nullable recordID, NSError * _Nullable error)
+@property (nullable, copy, nonatomic) void (^perRecordCompletionBlock)(CKRecord * _Nullable record, CKRecordID * _Nullable recordID, NSError * _Nullable error)
CK_SWIFT_DEPRECATED("Use perRecordResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@@ -57,7 +57,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchRecordsCompletionBlock)(NSDictionary<CKRecordID * , CKRecord *> * _Nullable recordsByRecordID, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^fetchRecordsCompletionBlock)(NSDictionary<CKRecordID * , CKRecord *> * _Nullable recordsByRecordID, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use fetchRecordsResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareMetadataOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareMetadataOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareMetadataOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareMetadataOperation.h 2023-06-12 01:40:14
@@ -24,14 +24,14 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithShareURLs:(NSArray<NSURL *> *)shareURLs;
-@property (nonatomic, copy, nullable) NSArray<NSURL *> *shareURLs;
+@property (nullable, copy, nonatomic) NSArray<NSURL *> *shareURLs;
/*! @abstract If set to YES, the resulting @c CKShareMetadata will have a @c rootRecord object filled out.
*
* @discussion Defaults to @c NO.
* The resulting @c CKShareMetadata will have a @c rootRecordID property regardless of the value of this property.
*/
-@property (nonatomic, assign) BOOL shouldFetchRootRecord;
+@property (assign, nonatomic) BOOL shouldFetchRootRecord;
/*! @abstract Declares which user-defined keys should be fetched and added to the resulting @c rootRecord.
*
@@ -39,7 +39,7 @@
* If nil, declares the entire root record should be downloaded. If set to an empty array, declares that no user fields should be downloaded.
* Defaults to @c nil.
*/
-@property (nonatomic, copy, nullable) NSArray<CKRecordFieldKey> *rootRecordDesiredKeys;
+@property (nullable, copy, nonatomic) NSArray<CKRecordFieldKey> *rootRecordDesiredKeys;
/*! @abstract Called once for each share URL that the server processed
*
@@ -47,7 +47,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perShareMetadataBlock)(NSURL *shareURL, CKShareMetadata * _Nullable shareMetadata, NSError * _Nullable error)
+@property (nullable, copy, nonatomic) void (^perShareMetadataBlock)(NSURL *shareURL, CKShareMetadata * _Nullable shareMetadata, NSError * _Nullable error)
CK_SWIFT_DEPRECATED("Use perShareMetadataResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0));
/*! @abstract This block is called when the operation completes.
@@ -58,7 +58,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchShareMetadataCompletionBlock)(NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^fetchShareMetadataCompletionBlock)(NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use fetchShareMetadataResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareParticipantsOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareParticipantsOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareParticipantsOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchShareParticipantsOperation.h 2023-06-12 01:40:13
@@ -17,7 +17,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithUserIdentityLookupInfos:(NSArray<CKUserIdentityLookupInfo *> *)userIdentityLookupInfos;
-@property (nonatomic, copy, nullable) NSArray<CKUserIdentityLookupInfo *> *userIdentityLookupInfos;
+@property (nullable, copy, nonatomic) NSArray<CKUserIdentityLookupInfo *> *userIdentityLookupInfos;
/*! @abstract Called once for each share participant created from a submitted user identity lookup info.
*
@@ -26,7 +26,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^shareParticipantFetchedBlock)(CKShareParticipant *participant) API_DEPRECATED("Use perShareParticipantCompletionBlock instead, which surfaces per-share-participant errors", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0));
+@property (nullable, copy, nonatomic) void (^shareParticipantFetchedBlock)(CKShareParticipant *participant) API_DEPRECATED("Use perShareParticipantCompletionBlock instead, which surfaces per-share-participant errors", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0));
/*! @abstract Called once for each lookup info.
*
@@ -34,7 +34,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perShareParticipantCompletionBlock)(CKUserIdentityLookupInfo *lookupInfo, CKShareParticipant * _Nullable participant, NSError * _Nullable error) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perShareParticipantCompletionBlock)(CKUserIdentityLookupInfo *lookupInfo, CKShareParticipant * _Nullable participant, NSError * _Nullable error) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
*
@@ -44,7 +44,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchShareParticipantsCompletionBlock)(NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^fetchShareParticipantsCompletionBlock)(NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use fetchShareParticipantsResultBlock instead", macos(10.12, 12.0), ios(10.0, 15.0), tvos(10.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchSubscriptionsOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchSubscriptionsOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchSubscriptionsOperation.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchSubscriptionsOperation.h 2023-06-12 01:40:13
@@ -20,7 +20,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithSubscriptionIDs:(NSArray<CKSubscriptionID> *)subscriptionIDs;
-@property (nonatomic, copy, nullable) NSArray<CKSubscriptionID> *subscriptionIDs;
+@property (nullable, copy, nonatomic) NSArray<CKSubscriptionID> *subscriptionIDs;
/*! @abstract Called on success or failure for each subscriptionID.
*
@@ -28,7 +28,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perSubscriptionCompletionBlock)(CKSubscriptionID subscriptionID, CKSubscription * _Nullable subscription, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perSubscriptionCompletionBlock)(CKSubscriptionID subscriptionID, CKSubscription * _Nullable subscription, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
*
@@ -39,7 +39,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchSubscriptionCompletionBlock)(NSDictionary<CKSubscriptionID, CKSubscription *> * _Nullable subscriptionsBySubscriptionID, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^fetchSubscriptionCompletionBlock)(NSDictionary<CKSubscriptionID, CKSubscription *> * _Nullable subscriptionsBySubscriptionID, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use fetchSubscriptionsResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(6.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchWebAuthTokenOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchWebAuthTokenOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchWebAuthTokenOperation.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKFetchWebAuthTokenOperation.h 2023-06-12 01:40:13
@@ -20,7 +20,7 @@
- (instancetype)initWithAPIToken:(NSString *)APIToken;
/*! APIToken is expected to be set before you begin this operation. */
-@property (nonatomic, copy, nullable) NSString *APIToken;
+@property (nullable, copy, nonatomic) NSString *APIToken;
/*! @abstract This block is called when the operation completes.
*
@@ -29,7 +29,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^fetchWebAuthTokenCompletionBlock)(NSString * _Nullable webAuthToken, NSError * _Nullable operationError) CK_SWIFT_DEPRECATED("Use fetchWebAuthTokenResultBlock instead", macos(10.11, 12.0), ios(9.2, 15.0), tvos(9.1, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
+@property (nullable, copy, nonatomic) void (^fetchWebAuthTokenCompletionBlock)(NSString * _Nullable webAuthToken, NSError * _Nullable operationError) CK_SWIFT_DEPRECATED("Use fetchWebAuthTokenResultBlock instead", macos(10.11, 12.0), ios(9.2, 15.0), tvos(9.1, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKLocationSortDescriptor.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKLocationSortDescriptor.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKLocationSortDescriptor.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKLocationSortDescriptor.h 2023-06-12 01:40:13
@@ -21,7 +21,7 @@
- (instancetype)initWithKey:(NSString *)key relativeLocation:(CLLocation *)relativeLocation NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
-@property (nonatomic, readonly, copy) CLLocation *relativeLocation;
+@property (readonly, copy, nonatomic) CLLocation *relativeLocation;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKMarkNotificationsReadOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKMarkNotificationsReadOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKMarkNotificationsReadOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKMarkNotificationsReadOperation.h 2023-06-12 01:40:14
@@ -19,7 +19,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithNotificationIDsToMarkRead:(NSArray<CKNotificationID *> *)notificationIDs;
-@property (nonatomic, copy, nullable) NSArray<CKNotificationID *> *notificationIDs;
+@property (nullable, copy, nonatomic) NSArray<CKNotificationID *> *notificationIDs;
/*! @abstract This block is called when the operation completes.
*
@@ -28,7 +28,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^markNotificationsReadCompletionBlock)(NSArray<CKNotificationID *> * _Nullable notificationIDsMarkedRead, NSError * _Nullable operationError);
+@property (nullable, copy, nonatomic) void (^markNotificationsReadCompletionBlock)(NSArray<CKNotificationID *> * _Nullable notificationIDsMarkedRead, NSError * _Nullable operationError);
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyBadgeOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyBadgeOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyBadgeOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyBadgeOperation.h 2023-06-12 01:40:13
@@ -15,7 +15,7 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithBadgeValue:(NSUInteger)badgeValue;
-@property (nonatomic, assign) NSUInteger badgeValue;
+@property (assign, nonatomic) NSUInteger badgeValue;
/*! @abstract This block is called when the operation completes.
*
@@ -24,7 +24,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^modifyBadgeCompletionBlock)(NSError * _Nullable operationError);
+@property (nullable, copy, nonatomic) void (^modifyBadgeCompletionBlock)(NSError * _Nullable operationError);
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordZonesOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordZonesOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordZonesOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordZonesOperation.h 2023-06-12 01:40:14
@@ -17,8 +17,8 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRecordZonesToSave:(nullable NSArray<CKRecordZone *> *)recordZonesToSave recordZoneIDsToDelete:(nullable NSArray<CKRecordZoneID *> *)recordZoneIDsToDelete;
-@property (nonatomic, copy, nullable) NSArray<CKRecordZone *> *recordZonesToSave;
-@property (nonatomic, copy, nullable) NSArray<CKRecordZoneID *> *recordZoneIDsToDelete;
+@property (nullable, copy, nonatomic) NSArray<CKRecordZone *> *recordZonesToSave;
+@property (nullable, copy, nonatomic) NSArray<CKRecordZoneID *> *recordZoneIDsToDelete;
/*! @abstract Called on success or failure of a record zone save
*
@@ -26,7 +26,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordZoneSaveBlock)(CKRecordZoneID *recordZoneID, CKRecordZone * _Nullable recordZone, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perRecordZoneSaveBlock)(CKRecordZoneID *recordZoneID, CKRecordZone * _Nullable recordZone, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract Called on success or failure of a record zone deletion
*
@@ -34,7 +34,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordZoneDeleteBlock)(CKRecordZoneID *recordZoneID, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perRecordZoneDeleteBlock)(CKRecordZoneID *recordZoneID, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
*
@@ -45,7 +45,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^modifyRecordZonesCompletionBlock)(NSArray<CKRecordZone *> * _Nullable savedRecordZones, NSArray<CKRecordZoneID *> * _Nullable deletedRecordZoneIDs, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^modifyRecordZonesCompletionBlock)(NSArray<CKRecordZone *> * _Nullable savedRecordZones, NSArray<CKRecordZoneID *> * _Nullable deletedRecordZoneIDs, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use modifyRecordZonesResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordsOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordsOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordsOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifyRecordsOperation.h 2023-06-10 02:20:58
@@ -44,16 +44,16 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRecordsToSave:(nullable NSArray<CKRecord *> *)records recordIDsToDelete:(nullable NSArray<CKRecordID *> *)recordIDs;
-@property (nonatomic, copy, nullable) NSArray<CKRecord *> *recordsToSave;
-@property (nonatomic, copy, nullable) NSArray<CKRecordID *> *recordIDsToDelete;
+@property (nullable, copy, nonatomic) NSArray<CKRecord *> *recordsToSave;
+@property (nullable, copy, nonatomic) NSArray<CKRecordID *> *recordIDsToDelete;
/*! The default value is @c CKRecordSaveIfServerRecordUnchanged. */
-@property (nonatomic, assign) CKRecordSavePolicy savePolicy;
+@property (assign, nonatomic) CKRecordSavePolicy savePolicy;
/*! @discussion This property is kept by the server to identify the last known request from this client.
* Multiple requests from the client with the same change token will be ignored by the server.
*/
-@property (nonatomic, copy, nullable) NSData *clientChangeTokenData;
+@property (nullable, copy, nonatomic) NSData *clientChangeTokenData;
/*! @abstract Determines whether the batch should fail atomically or not.
*
@@ -61,7 +61,7 @@
* Server-side write atomicity is only enforced on zones that have @c CKRecordZoneCapabilityAtomic.
* If @c isAtomic is YES, client-side checks are enforced regardless of the zone's capabilities. (For example, if a record is malformed, and cannot be sent to the server, the client will forcibly fail all other records-to-be-modified in that zone)
*/
-@property (nonatomic, assign) BOOL atomic NS_SWIFT_NAME(isAtomic);
+@property (assign, nonatomic) BOOL atomic NS_SWIFT_NAME(isAtomic);
/*! @abstract Indicates the progress for each record.
*
@@ -71,7 +71,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordProgressBlock)(CKRecord *record, double progress);
+@property (nullable, copy, nonatomic) void (^perRecordProgressBlock)(CKRecord *record, double progress);
/*! @abstract Called on success or failure for each record.
*
@@ -80,7 +80,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordCompletionBlock)(CKRecord *record, NSError * _Nullable error) API_DEPRECATED_WITH_REPLACEMENT("perRecordSaveBlock", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0));
+@property (nullable, copy, nonatomic) void (^perRecordCompletionBlock)(CKRecord *record, NSError * _Nullable error) API_DEPRECATED_WITH_REPLACEMENT("perRecordSaveBlock", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0));
/*! @abstract Called on success or failure of a record save
@@ -91,7 +91,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordSaveBlock)(CKRecordID *recordID, CKRecord * _Nullable record, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perRecordSaveBlock)(CKRecordID *recordID, CKRecord * _Nullable record, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract Called on success or failure of a record deletion
*
@@ -99,7 +99,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perRecordDeleteBlock)(CKRecordID *recordID, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perRecordDeleteBlock)(CKRecordID *recordID, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
*
@@ -111,7 +111,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^modifyRecordsCompletionBlock)(NSArray<CKRecord *> * _Nullable savedRecords, NSArray<CKRecordID *> * _Nullable deletedRecordIDs, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^modifyRecordsCompletionBlock)(NSArray<CKRecord *> * _Nullable savedRecords, NSArray<CKRecordID *> * _Nullable deletedRecordIDs, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use modifyRecordsResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifySubscriptionsOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifySubscriptionsOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifySubscriptionsOperation.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKModifySubscriptionsOperation.h 2023-06-12 01:40:13
@@ -17,8 +17,8 @@
- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithSubscriptionsToSave:(nullable NSArray<CKSubscription *> *)subscriptionsToSave subscriptionIDsToDelete:(nullable NSArray<CKSubscriptionID> *)subscriptionIDsToDelete;
-@property (nonatomic, copy, nullable) NSArray<CKSubscription *> *subscriptionsToSave;
-@property (nonatomic, copy, nullable) NSArray<CKSubscriptionID> *subscriptionIDsToDelete;
+@property (nullable, copy, nonatomic) NSArray<CKSubscription *> *subscriptionsToSave;
+@property (nullable, copy, nonatomic) NSArray<CKSubscriptionID> *subscriptionIDsToDelete;
/*! @abstract Called on success or failure of a subscription save
*
@@ -26,7 +26,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perSubscriptionSaveBlock)(CKSubscriptionID subscriptionID, CKSubscription * _Nullable subscription, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perSubscriptionSaveBlock)(CKSubscriptionID subscriptionID, CKSubscription * _Nullable subscription, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract Called on success or failure of a subscription deletion
*
@@ -34,7 +34,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^perSubscriptionDeleteBlock)(CKSubscriptionID subscriptionID, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^perSubscriptionDeleteBlock)(CKSubscriptionID subscriptionID, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
*
@@ -45,7 +45,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^modifySubscriptionsCompletionBlock)(NSArray<CKSubscription *> * _Nullable savedSubscriptions, NSArray<CKSubscriptionID> * _Nullable deletedSubscriptionIDs, NSError * _Nullable operationError);
+@property (nullable, copy, nonatomic) void (^modifySubscriptionsCompletionBlock)(NSArray<CKSubscription *> * _Nullable savedSubscriptions, NSArray<CKSubscriptionID> * _Nullable deletedSubscriptionIDs, NSError * _Nullable operationError);
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKNotification.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKNotification.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKNotification.h 2023-05-19 22:10:20
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKNotification.h 2023-06-12 01:40:13
@@ -72,43 +72,43 @@
/// When you instantiate a `CKNotification` from a remote notification dictionary, you will get back a concrete
/// subclass defined below. Use `notificationType` to avoid `as?` or `-isKindOfClass:` checks.
-@property (nonatomic, readonly, assign) CKNotificationType notificationType;
+@property (readonly, assign, nonatomic) CKNotificationType notificationType;
-@property (nonatomic, readonly, copy, nullable) CKNotificationID *notificationID;
+@property (nullable, readonly, copy, nonatomic) CKNotificationID *notificationID;
-@property (nonatomic, readonly, copy, nullable) NSString *containerIdentifier;
+@property (nullable, readonly, copy, nonatomic) NSString *containerIdentifier;
/// The user `recordID` of the owner of the subscription for which this notification was generated
-@property (nonatomic, readonly, copy, nullable) CKRecordID *subscriptionOwnerUserRecordID API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+@property (nullable, readonly, copy, nonatomic) CKRecordID *subscriptionOwnerUserRecordID API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
/// Whether or not the notification fully represents what the server wanted to send.
///
/// Push notifications have a limited size. In some cases, CloudKit servers may not be able to send you a full `CKNotification`'s worth of info in one push.
/// In those cases, `isPruned` returns `true`.
/// The order in which properties are dropped from a push notification is defined in each `CKNotification` subclass below.
-@property (nonatomic, readonly, assign) BOOL isPruned;
+@property (readonly, assign, nonatomic) BOOL isPruned;
/// The ID of the subscription that caused this notification to fire.
-@property (nonatomic, readonly, copy, nullable) CKSubscriptionID subscriptionID API_AVAILABLE(macos(10.11), ios(9.0), watchos(3.0));
+@property (nullable, readonly, copy, nonatomic) CKSubscriptionID subscriptionID API_AVAILABLE(macos(10.11), ios(9.0), watchos(3.0));
@end
API_DEPRECATED_BEGIN("Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework", macos(10.10, 14.0), ios(8.0, 17.0), tvos(9.0, 17.0), watchos(3.0, 10.0))
@interface CKNotification (DeprecatedAPSProperties)
-@property (nonatomic, readonly, copy, nullable) NSString *alertBody __TVOS_PROHIBITED;
-@property (nonatomic, readonly, copy, nullable) NSString *alertLocalizationKey __TVOS_PROHIBITED;
-@property (nonatomic, readonly, copy, nullable) NSArray<NSString *> *alertLocalizationArgs __TVOS_PROHIBITED;
-@property (nonatomic, readonly, copy, nullable) NSString *title __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-@property (nonatomic, readonly, copy, nullable) NSString *titleLocalizationKey __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-@property (nonatomic, readonly, copy, nullable) NSArray<NSString *> *titleLocalizationArgs __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-@property (nonatomic, readonly, copy, nullable) NSString *subtitle __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-@property (nonatomic, readonly, copy, nullable) NSString *subtitleLocalizationKey __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-@property (nonatomic, readonly, copy, nullable) NSArray<NSString *> *subtitleLocalizationArgs __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-@property (nonatomic, readonly, copy, nullable) NSString *alertActionLocalizationKey __TVOS_PROHIBITED;
-@property (nonatomic, readonly, copy, nullable) NSString *alertLaunchImage __TVOS_PROHIBITED;
-@property (nonatomic, readonly, copy, nullable) NSNumber *badge API_AVAILABLE(tvos(10.0));
-@property (nonatomic, readonly, copy, nullable) NSString *soundName __TVOS_PROHIBITED;
-@property (nonatomic, readonly, copy, nullable) NSString *category __TVOS_PROHIBITED API_AVAILABLE(macos(10.11), ios(9.0), watchos(3.0));
+@property (nullable, readonly, copy, nonatomic) NSString *alertBody __TVOS_PROHIBITED;
+@property (nullable, readonly, copy, nonatomic) NSString *alertLocalizationKey __TVOS_PROHIBITED;
+@property (nullable, readonly, copy, nonatomic) NSArray<NSString *> *alertLocalizationArgs __TVOS_PROHIBITED;
+@property (nullable, readonly, copy, nonatomic) NSString *title __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
+@property (nullable, readonly, copy, nonatomic) NSString *titleLocalizationKey __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
+@property (nullable, readonly, copy, nonatomic) NSArray<NSString *> *titleLocalizationArgs __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
+@property (nullable, readonly, copy, nonatomic) NSString *subtitle __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
+@property (nullable, readonly, copy, nonatomic) NSString *subtitleLocalizationKey __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
+@property (nullable, readonly, copy, nonatomic) NSArray<NSString *> *subtitleLocalizationArgs __TVOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
+@property (nullable, readonly, copy, nonatomic) NSString *alertActionLocalizationKey __TVOS_PROHIBITED;
+@property (nullable, readonly, copy, nonatomic) NSString *alertLaunchImage __TVOS_PROHIBITED;
+@property (nullable, readonly, copy, nonatomic) NSNumber *badge API_AVAILABLE(tvos(10.0));
+@property (nullable, readonly, copy, nonatomic) NSString *soundName __TVOS_PROHIBITED;
+@property (nullable, readonly, copy, nonatomic) NSString *category __TVOS_PROHIBITED API_AVAILABLE(macos(10.11), ios(9.0), watchos(3.0));
@end
API_DEPRECATED_END // macos(10.10, 14.0), ios(8.0, 17.0), tvos(9.0, 17.0), watchos(3.0, 10.0))
@@ -147,16 +147,16 @@
NS_SWIFT_SENDABLE
@interface CKQueryNotification : CKNotification
-@property (nonatomic, readonly, assign) CKQueryNotificationReason queryNotificationReason;
+@property (readonly, assign, nonatomic) CKQueryNotificationReason queryNotificationReason;
/// A set of key->value pairs for creates and updates.
///
/// You request the server fill out this property via the `desiredKeys` property of `CKSubscription.NotificationInfo`
-@property (nonatomic, readonly, copy, nullable) NSDictionary<NSString *, NS_SWIFT_SENDABLE id> *recordFields;
+@property (nullable, readonly, copy, nonatomic) NSDictionary<NSString *, id> *recordFields;
-@property (nonatomic, readonly, copy, nullable) CKRecordID *recordID;
+@property (nullable, readonly, copy, nonatomic) CKRecordID *recordID;
-@property (nonatomic, readonly, assign) CKDatabaseScope databaseScope API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
+@property (readonly, assign, nonatomic) CKDatabaseScope databaseScope API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
@end
@@ -188,9 +188,9 @@
NS_SWIFT_SENDABLE
@interface CKRecordZoneNotification : CKNotification
-@property (nonatomic, readonly, copy, nullable) CKRecordZoneID *recordZoneID;
+@property (nullable, readonly, copy, nonatomic) CKRecordZoneID *recordZoneID;
-@property (nonatomic, readonly, assign) CKDatabaseScope databaseScope API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
+@property (readonly, assign, nonatomic) CKDatabaseScope databaseScope API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
@end
@@ -221,7 +221,7 @@
NS_SWIFT_SENDABLE
@interface CKDatabaseNotification : CKNotification
-@property (nonatomic, readonly, assign) CKDatabaseScope databaseScope;
+@property (readonly, assign, nonatomic) CKDatabaseScope databaseScope;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperation.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperation.h 2023-06-10 02:56:01
@@ -24,17 +24,17 @@
*
* @discussion See the CKOperationConfiguration class description for info on how this configuration composes with CKOperationGroup.defaultConfiguration
*/
-@property (nonatomic, copy, null_resettable) CKOperationConfiguration *configuration API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
+@property (null_resettable, copy, nonatomic) CKOperationConfiguration *configuration API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
/*! @abstract The group this operation is associated with
*/
-@property (nonatomic, strong, nullable) CKOperationGroup *group API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
+@property (nullable, strong, nonatomic) CKOperationGroup *group API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0));
/*! @abstract This is an identifier unique to this CKOperation.
*
* @discussion This value is chosen by the system, and will be unique to this instance of a CKOperation. This identifier will be sent to Apple's servers, and can be used to identify any server-side logging associated with this operation.
*/
-@property (nonatomic, readonly, copy) CKOperationID operationID API_AVAILABLE(macos(10.12), ios(9.3), tvos(9.2), watchos(3.0));
+@property (readonly, copy, nonatomic) CKOperationID operationID API_AVAILABLE(macos(10.12), ios(9.3), tvos(9.2), watchos(3.0));
/*! @abstract This callback is called after a long lived operation has begun running and is persisted.
*
@@ -43,7 +43,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^longLivedOperationWasPersistedBlock)(void) API_AVAILABLE(macos(10.12), ios(9.3), tvos(9.2), watchos(3.0));
+@property (nullable, copy, nonatomic) void (^longLivedOperationWasPersistedBlock)(void) API_AVAILABLE(macos(10.12), ios(9.3), tvos(9.2), watchos(3.0));
@end
@@ -73,7 +73,7 @@
@interface CKOperationConfiguration : NSObject
/*! If no container is set, [CKContainer defaultContainer] is used */
-@property (atomic, strong, nullable) CKContainer *container;
+@property (nullable, strong) CKContainer *container;
/*! @discussion CKOperations behave differently depending on how you set qualityOfService.
*
@@ -99,11 +99,11 @@
*
* CKOperations have a default qualityOfService of Default.
*/
-@property (atomic, assign) NSQualityOfService qualityOfService;
+@property (assign) NSQualityOfService qualityOfService;
/*! Defaults to @c YES */
-@property (atomic, assign) BOOL allowsCellularAccess;
+@property (assign) BOOL allowsCellularAccess;
/*! @discussion Long lived operations will continue running even if your process exits. If your process remains alive for the lifetime of the long lived operation its behavior is the same as a regular operation.
*
@@ -114,21 +114,21 @@
*
* The default value for longLived is NO. Changing the value of longLived on an already started operation or on an outstanding long lived operation fetched from CKContainer has no effect.
*/
-@property (atomic, assign, getter=isLongLived) BOOL longLived;
+@property (assign, getter=isLongLived) BOOL longLived;
/*! @discussion If non-zero, overrides the timeout interval for any network requests issued by this operation.
* The default value is 60.
*
* @see NSURLSessionConfiguration.timeoutIntervalForRequest
*/
-@property (atomic, assign) NSTimeInterval timeoutIntervalForRequest;
+@property (assign) NSTimeInterval timeoutIntervalForRequest;
/*! @discussion If set, overrides the timeout interval for any network resources retrieved by this operation.
* If not explicitly set, defaults to a value based on the operation's @c qualityOfService
*
* @see NSURLSessionConfiguration.timeoutIntervalForResource
*/
-@property (atomic, assign) NSTimeInterval timeoutIntervalForResource;
+@property (assign) NSTimeInterval timeoutIntervalForResource;
@end
@@ -137,11 +137,11 @@
/*! These deprecated properties now read and write from the CKOperation's configuration */
@interface CKOperation (CKOperationDeprecated)
-@property (nonatomic, strong, nullable) CKContainer *container API_DEPRECATED("Use CKOperationConfiguration", macos(10.10, 10.13), ios(8.0, 11.0), tvos(9.0, 11.0), watchos(3.0, 4.0));
-@property (nonatomic, assign) BOOL allowsCellularAccess API_DEPRECATED("Use CKOperationConfiguration", macos(10.10, 10.13), ios(8.0, 11.0), tvos(9.0, 11.0), watchos(3.0, 4.0));
-@property (nonatomic, assign, getter=isLongLived) BOOL longLived API_DEPRECATED("Use CKOperationConfiguration", macos(10.12, 10.13), ios(9.3, 11.0), tvos(9.2, 11.0), watchos(3.0, 4.0));
-@property (nonatomic, assign) NSTimeInterval timeoutIntervalForRequest API_DEPRECATED("Use CKOperationConfiguration", macos(10.12, 10.13), ios(10.0, 11.0), tvos(10.0, 11.0), watchos(3.0, 4.0));
-@property (nonatomic, assign) NSTimeInterval timeoutIntervalForResource API_DEPRECATED("Use CKOperationConfiguration", macos(10.12, 10.13), ios(10.0, 11.0), tvos(10.0, 11.0), watchos(3.0, 4.0));
+@property (nullable, strong, nonatomic) CKContainer *container API_DEPRECATED("Use CKOperationConfiguration", macos(10.10, 10.13), ios(8.0, 11.0), tvos(9.0, 11.0), watchos(3.0, 4.0));
+@property (assign, nonatomic) BOOL allowsCellularAccess API_DEPRECATED("Use CKOperationConfiguration", macos(10.10, 10.13), ios(8.0, 11.0), tvos(9.0, 11.0), watchos(3.0, 4.0));
+@property (assign, nonatomic, getter=isLongLived) BOOL longLived API_DEPRECATED("Use CKOperationConfiguration", macos(10.12, 10.13), ios(9.3, 11.0), tvos(9.2, 11.0), watchos(3.0, 4.0));
+@property (assign, nonatomic) NSTimeInterval timeoutIntervalForRequest API_DEPRECATED("Use CKOperationConfiguration", macos(10.12, 10.13), ios(10.0, 11.0), tvos(10.0, 11.0), watchos(3.0, 4.0));
+@property (assign, nonatomic) NSTimeInterval timeoutIntervalForResource API_DEPRECATED("Use CKOperationConfiguration", macos(10.12, 10.13), ios(10.0, 11.0), tvos(10.0, 11.0), watchos(3.0, 4.0));
@end
NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperationGroup.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperationGroup.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperationGroup.h 2023-05-19 22:09:54
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKOperationGroup.h 2023-06-10 02:20:57
@@ -58,13 +58,13 @@
*
* @discussion This value is chosen by the system, and will be unique to this instance of a @c CKOperationGroup. This identifier will be sent to Apple's servers, and can be used to identify any server-side logging associated with this operation group.
*/
-@property (nonatomic, readonly, copy) NSString *operationGroupID;
+@property (readonly, copy, nonatomic) NSString *operationGroupID;
/*! @abstract This is the default configuration applied to operations in this operation group.
*
* @discussion If an operation associated with this operation group has its own configuration, then any explicitly-set properties in that operation's configuration will override these default configuration values. See the example in CKOperation.h
*/
-@property (atomic, copy, null_resettable) CKOperationConfiguration *defaultConfiguration;
+@property (null_resettable, copy) CKOperationConfiguration *defaultConfiguration;
/*! @abstract Describes the user action attributed to the operation group.
*
@@ -74,13 +74,13 @@
* "Saving User-Entered Record"
* This string will be sent to Apple servers to provide aggregate reporting for @c CKOperationGroup s and therefore must not include personally identifying data.
*/
-@property (atomic, copy, nullable) NSString *name;
+@property (nullable, copy) NSString *name;
/*! @abstract Describes an application-specific "number of elements" associated with the operation group.
*
* @discussion @c quantity is intended to show the app-specific count of items contained within the operation group. It is your job to assign meaning to this value. For example, if an app created an operation group to save 3 calendar events the user had created, the app might want to set this to "3". This value is not shown to your users, it's meant to aid your development and debugging. This value will be reported in the CloudKit Dashboard's log entries for all operations associated with this operation group.
*/
-@property (atomic, assign) NSUInteger quantity;
+@property (assign) NSUInteger quantity;
/*! @abstract Estimated size of traffic being uploaded to the CloudKit Server
*
@@ -90,7 +90,7 @@
* You may update after the @c CKOperationGroup is created. If it is increased, then subsequent @c CKOperation s associated with this operation group may be delayed until network conditions are good.
* Defaults to @c CKOperationGroupTransferSizeUnknown
*/
-@property (atomic, assign) CKOperationGroupTransferSize expectedSendSize;
+@property (assign) CKOperationGroupTransferSize expectedSendSize;
/*! @abstract Estimated size of traffic being downloaded from the CloudKit Server
*
@@ -100,7 +100,7 @@
* You may update after the @c CKOperationGroup is created. If it is increased, then subsequent @c CKOperation s associated with this operation group may be delayed until network conditions are good.
* Defaults to @c CKOperationGroupTransferSizeUnknown
*/
-@property (atomic, assign) CKOperationGroupTransferSize expectedReceiveSize;
+@property (assign) CKOperationGroupTransferSize expectedReceiveSize;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQuery.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQuery.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQuery.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQuery.h 2023-06-12 01:40:13
@@ -41,10 +41,10 @@
/*! Use @code [NSPredicate predicateWithValue:YES] / NSPredicate(value: true) @endcode if you want to query for all records of a given type. */
- (instancetype)initWithRecordType:(CKRecordType)recordType predicate:(NSPredicate *)predicate NS_DESIGNATED_INITIALIZER;
-@property (atomic, readonly, copy) CKRecordType recordType;
-@property (atomic, readonly, copy) NSPredicate *predicate;
+@property (readonly, copy) CKRecordType recordType;
+@property (readonly, copy) NSPredicate *predicate;
-@property (atomic, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptors;
+@property (nullable, copy) NSArray<NSSortDescriptor *> *sortDescriptors;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQueryOperation.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQueryOperation.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQueryOperation.h 2023-05-19 22:09:54
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKQueryOperation.h 2023-06-10 03:30:23
@@ -36,15 +36,15 @@
- (instancetype)initWithQuery:(CKQuery *)query;
- (instancetype)initWithCursor:(CKQueryCursor *)cursor;
-@property (nonatomic, copy, nullable) CKQuery *query;
-@property (nonatomic, copy, nullable) CKQueryCursor *cursor;
+@property (nullable, copy, nonatomic) CKQuery *query;
+@property (nullable, copy, nonatomic) CKQueryCursor *cursor;
/*! @abstract Indicates which record zone to query.
*
* @discussion For query operations constructed using a cursor, this property is ignored and instead will be evaluated in the record zone in which the cursor was originally created.
* Queries that do not specify a @c zoneID will perform a query across all zones in the database.
*/
-@property (nonatomic, copy, nullable) CKRecordZoneID *zoneID;
+@property (nullable, copy, nonatomic) CKRecordZoneID *zoneID;
/*! @discussion Defaults to @c CKQueryOperationMaximumResults.
* Queries may return fewer than @c resultsLimit in some scenarios:
@@ -52,14 +52,14 @@
* - During the process of querying and fetching the results, some records were deleted, or became un-readable by the current user.
* When determining if there are more records to fetch, always check for the presence of a cursor in @c queryCompletionBlock.
*/
-@property (nonatomic, assign) NSUInteger resultsLimit;
+@property (assign, nonatomic) NSUInteger resultsLimit;
/*! @abstract Declares which user-defined keys should be fetched and added to the resulting CKRecords.
*
* @discussion If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded.
* Defaults to @c nil.
*/
-@property (nonatomic, copy, nullable) NSArray<CKRecordFieldKey> *desiredKeys;
+@property (nullable, copy, nonatomic) NSArray<CKRecordFieldKey> *desiredKeys;
/*! @abstract This block will be called once for every record that is returned as a result of the query.
*
@@ -69,7 +69,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordFetchedBlock)(CKRecord *record) API_DEPRECATED("Use recordMatchedBlock instead, which surfaces per-record errors", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0));
+@property (nullable, copy, nonatomic) void (^recordFetchedBlock)(CKRecord *record) API_DEPRECATED("Use recordMatchedBlock instead, which surfaces per-record errors", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0));
/*! @abstract This block will be called once for every record that is returned as a result of the query.
*
@@ -78,7 +78,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^recordMatchedBlock)(CKRecordID *recordID, CKRecord * _Nullable record, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy, nonatomic) void (^recordMatchedBlock)(CKRecordID *recordID, CKRecord * _Nullable record, NSError * _Nullable error) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
/*! @abstract This block is called when the operation completes.
@@ -89,7 +89,7 @@
* This block may share mutable state with other blocks assigned to this operation, but any such mutable state
* should not be concurrently used outside of blocks assigned to this operation.
*/
-@property (nonatomic, copy, nullable) void (^queryCompletionBlock)(CKQueryCursor * _Nullable cursor, NSError * _Nullable operationError)
+@property (nullable, copy, nonatomic) void (^queryCompletionBlock)(CKQueryCursor * _Nullable cursor, NSError * _Nullable operationError)
CK_SWIFT_DEPRECATED("Use queryResultBlock instead", macos(10.10, 12.0), ios(8.0, 15.0), tvos(9.0, 15.0), watchos(3.0, 8.0), xros(1.0, 1.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecord.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecord.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecord.h 2023-05-19 22:14:13
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecord.h 2023-06-13 02:19:52
@@ -58,19 +58,19 @@
- (instancetype)initWithRecordType:(CKRecordType)recordType recordID:(CKRecordID *)recordID;
- (instancetype)initWithRecordType:(CKRecordType)recordType zoneID:(CKRecordZoneID *)zoneID;
-@property (atomic, readonly, copy) CKRecordType recordType;
-@property (atomic, readonly, copy) CKRecordID *recordID;
+@property (readonly, copy) CKRecordType recordType;
+@property (readonly, copy) CKRecordID *recordID;
/*! Change tags are updated by the server to a unique value every time a record is modified. A different change tag necessarily means that the contents of the record are different. */
-@property (atomic, readonly, copy, nullable) NSString *recordChangeTag;
+@property (nullable, readonly, copy) NSString *recordChangeTag;
/*! This is a User Record recordID, identifying the user that created this record. */
-@property (atomic, readonly, copy, nullable) CKRecordID *creatorUserRecordID;
-@property (atomic, readonly, copy, nullable) NSDate *creationDate;
+@property (nullable, readonly, copy) CKRecordID *creatorUserRecordID;
+@property (nullable, readonly, copy) NSDate *creationDate;
/*! This is a User Record recordID, identifying the user that last modified this record. */
-@property (atomic, readonly, copy, nullable) CKRecordID *lastModifiedUserRecordID;
-@property (atomic, readonly, copy, nullable) NSDate *modificationDate;
+@property (nullable, readonly, copy) CKRecordID *lastModifiedUserRecordID;
+@property (nullable, readonly, copy) NSDate *modificationDate;
/*! @discussion In addition to @c objectForKey: and @c setObject:forKey:, dictionary-style subscripting (@c record[key] and @code record[key] = value @endcode) can be used to get and set values.
* Acceptable value object classes are:
@@ -148,7 +148,7 @@
*
* Whenever possible, it is suggested that you construct your parent hierarchies such that you will only need to share the topmost record of that hierarchy.
*/
-@property (atomic, readonly, copy, nullable) CKReference *share API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
+@property (nullable, readonly, copy) CKReference *share API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
/*! @abstract Use a parent reference to teach CloudKit about the hierarchy of your records.
*
@@ -161,7 +161,7 @@
* You are encouraged to set up the @c parent relationships as part of normal record saves, even if you're not planning on sharing records at this time.
* This allows you to share and unshare a hierarchy of records at a later date by only modifying the "top level" record, setting or clearing its @c share reference.
*/
-@property (atomic, copy, nullable) CKReference *parent API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
+@property (nullable, copy) CKReference *parent API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
/*! Convenience wrappers around creating a @c CKReference to a parent record. The resulting @c CKReference will have @code referenceAction = CKReferenceActionNone @endcode */
- (void)setParentReferenceFromRecord:(nullable CKRecord *)parentRecord API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
@@ -211,7 +211,7 @@
* Key material necessary for decryption are available to the owner of the record, as well as any users that can access this record via a CKShare.
* All CKRecordValue types can be set here except CKAsset and CKReference.
*/
-@property (atomic, readonly, copy) NS_SWIFT_SENDABLE id<CKRecordKeyValueSetting> encryptedValues API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+@property (readonly, copy) NS_SWIFT_SENDABLE id<CKRecordKeyValueSetting> encryptedValues API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordID.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordID.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordID.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordID.h 2023-06-12 01:40:13
@@ -28,8 +28,8 @@
- (instancetype)initWithRecordName:(NSString *)recordName zoneID:(CKRecordZoneID *)zoneID NS_DESIGNATED_INITIALIZER;
-@property (nonatomic, readonly, copy) NSString *recordName;
-@property (nonatomic, readonly, copy) CKRecordZoneID *zoneID;
+@property (readonly, copy, nonatomic) NSString *recordName;
+@property (readonly, copy, nonatomic) CKRecordZoneID *zoneID;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZone.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZone.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZone.h 2023-05-19 21:55:43
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZone.h 2023-06-12 01:40:13
@@ -38,10 +38,10 @@
- (instancetype)initWithZoneName:(NSString *)zoneName;
- (instancetype)initWithZoneID:(CKRecordZoneID *)zoneID;
-@property (atomic, readonly, copy) CKRecordZoneID *zoneID;
+@property (readonly, copy) CKRecordZoneID *zoneID;
/*! Capabilities on locally-created record zones are not valid until the record zone is saved. Capabilities on record zones fetched from the server are valid. */
-@property (atomic, readonly, assign) CKRecordZoneCapabilities capabilities;
+@property (readonly, assign) CKRecordZoneCapabilities capabilities;
/*! @discussion The share property on a record zone will only be set on zones fetched from the server and only if a
* corresponding zone-wide share record for the zone exists on the server.
@@ -51,7 +51,7 @@
* Zone-wide sharing is only supported in zones with the @c CKRecordZoneCapabilityZoneWideSharing sharing capability.
* You cannot share a zone if it already contains shared records.
*/
-@property (atomic, readonly, copy, nullable) CKReference *share API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+@property (nullable, readonly, copy) CKReference *share API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZoneID.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZoneID.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZoneID.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKRecordZoneID.h 2023-06-12 01:40:13
@@ -22,8 +22,8 @@
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)initWithZoneName:(NSString *)zoneName ownerName:(NSString *)ownerName NS_DESIGNATED_INITIALIZER;
-@property (nonatomic, readonly, copy) NSString *zoneName;
-@property (nonatomic, readonly, copy) NSString *ownerName;
+@property (readonly, copy, nonatomic) NSString *zoneName;
+@property (readonly, copy, nonatomic) NSString *ownerName;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKReference.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKReference.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKReference.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKReference.h 2023-06-12 01:40:13
@@ -38,9 +38,9 @@
- (instancetype)initWithRecordID:(CKRecordID *)recordID action:(CKReferenceAction)action NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithRecord:(CKRecord *)record action:(CKReferenceAction)action;
-@property (nonatomic, readonly, assign) CKReferenceAction referenceAction;
+@property (readonly, assign, nonatomic) CKReferenceAction referenceAction;
-@property (nonatomic, readonly, copy) CKRecordID *recordID;
+@property (readonly, copy, nonatomic) CKRecordID *recordID;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShare.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShare.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShare.h 2023-05-19 22:26:54
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShare.h 2023-06-13 02:26:17
@@ -66,23 +66,23 @@
* Changing the public permission to @c CKShareParticipantPermissionReadOnly or @c CKShareParticipantPermissionReadWrite will result in all pending participants being removed. Already-accepted participants will remain on the share.
* Changing the public permission to @c CKShareParticipantPermissionNone will result in all participants being removed from the share. You may subsequently choose to call @c addParticipant: before saving the share, those participants will be added to the share.
*/
-@property (atomic, assign) CKShareParticipantPermission publicPermission;
+@property (assign) CKShareParticipantPermission publicPermission;
/*! @abstract A URL that can be used to invite participants to this share.
*
* @discussion Only available after share record has been saved to the server. This url is stable, and is tied to the rootRecord. That is, if you share a rootRecord, delete the share, and re-share the same rootRecord via a newly created share, that newly created share's url will be identical to the prior share's url
*/
-@property (atomic, readonly, copy, nullable) NSURL *URL;
+@property (nullable, readonly, copy) NSURL *URL;
/*! @abstract All participants on the share that the current user has permissions to see.
*
* @discussion At the minimum that will include the owner and the current user.
*/
-@property (atomic, readonly, copy) NSArray<CKShareParticipant *> *participants;
+@property (readonly, copy) NSArray<CKShareParticipant *> *participants;
/*! Convenience methods for fetching special users from the participant array */
-@property (atomic, readonly, copy) CKShareParticipant *owner;
-@property (atomic, readonly, copy, nullable) CKShareParticipant *currentUserParticipant;
+@property (readonly, copy) CKShareParticipant *owner;
+@property (nullable, readonly, copy) CKShareParticipant *currentUserParticipant;
/*! @discussion If a participant with a matching userIdentity already exists, then that existing participant's properties will be updated; no new participant will be added.
* In order to modify the list of participants, a share must have publicPermission set to @c CKShareParticipantPermissionNone. That is, you cannot mix-and-match private users and public users in the same share.
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareMetadata.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareMetadata.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareMetadata.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareMetadata.h 2023-06-12 01:40:13
@@ -17,22 +17,22 @@
// NS_SWIFT_SENDABLE on macos(14.0), ios(17.0), tvos(17.0), watchos(10.0)
@interface CKShareMetadata : NSObject <NSCopying, NSSecureCoding>
-@property (atomic, readonly, copy) NSString *containerIdentifier;
-@property (atomic, readonly, copy) CKShare *share;
-@property (atomic, readonly, copy, nullable) CKRecordID *hierarchicalRootRecordID API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+@property (readonly, copy) NSString *containerIdentifier;
+@property (readonly, copy) CKShare *share;
+@property (nullable, readonly, copy) CKRecordID *hierarchicalRootRecordID API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
/*! These properties reflect the participant properties of the user invoking CKFetchShareMetadataOperation */
-@property (atomic, readonly, assign) CKShareParticipantRole participantRole API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
-@property (atomic, readonly, assign) CKShareParticipantAcceptanceStatus participantStatus;
-@property (atomic, readonly, assign) CKShareParticipantPermission participantPermission;
+@property (readonly, assign) CKShareParticipantRole participantRole API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
+@property (readonly, assign) CKShareParticipantAcceptanceStatus participantStatus;
+@property (readonly, assign) CKShareParticipantPermission participantPermission;
-@property (atomic, readonly, copy) CKUserIdentity *ownerIdentity;
+@property (readonly, copy) CKUserIdentity *ownerIdentity;
/*! This is only present if the share metadata was returned from a CKFetchShareMetadataOperation with shouldFetchRootRecord set to YES */
-@property (atomic, readonly, copy, nullable) CKRecord *rootRecord;
+@property (nullable, readonly, copy) CKRecord *rootRecord;
-@property (atomic, readonly, assign) CKShareParticipantType participantType API_DEPRECATED_WITH_REPLACEMENT("participantRole", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0));
-@property (atomic, readonly, copy) CKRecordID *rootRecordID API_DEPRECATED_WITH_REPLACEMENT("hierarchicalRootRecordID", macos(10.12, 13.0), ios(10.0, 16.0), tvos(10.0, 16.0), watchos(3.0, 9.0));
+@property (readonly, assign) CKShareParticipantType participantType API_DEPRECATED_WITH_REPLACEMENT("participantRole", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0));
+@property (readonly, copy) CKRecordID *rootRecordID API_DEPRECATED_WITH_REPLACEMENT("hierarchicalRootRecordID", macos(10.12, 13.0), ios(10.0, 16.0), tvos(10.0, 16.0), watchos(3.0, 9.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareParticipant.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareParticipant.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareParticipant.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKShareParticipant.h 2023-06-12 01:40:13
@@ -56,18 +56,18 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (atomic, readonly, copy) CKUserIdentity *userIdentity;
+@property (readonly, copy) CKUserIdentity *userIdentity;
/*! The default participant role is @c CKShareParticipantRolePrivateUser. */
-@property (atomic, assign) CKShareParticipantRole role API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
+@property (assign) CKShareParticipantRole role API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0));
/*! The default participant type is @c CKShareParticipantTypePrivateUser. */
-@property (atomic, assign) CKShareParticipantType type API_DEPRECATED_WITH_REPLACEMENT("role", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0));
+@property (assign) CKShareParticipantType type API_DEPRECATED_WITH_REPLACEMENT("role", macos(10.12, 10.14), ios(10.0, 12.0), tvos(10.0, 12.0), watchos(3.0, 5.0));
-@property (atomic, readonly, assign) CKShareParticipantAcceptanceStatus acceptanceStatus;
+@property (readonly, assign) CKShareParticipantAcceptanceStatus acceptanceStatus;
/*! The default permission for a new participant is @c CKShareParticipantPermissionReadOnly. */
-@property (atomic, assign) CKShareParticipantPermission permission;
+@property (assign) CKShareParticipantPermission permission;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSubscription.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSubscription.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSubscription.h 2023-05-19 22:26:55
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSubscription.h 2023-06-12 01:40:13
@@ -30,14 +30,14 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (atomic, readonly, copy) CKSubscriptionID subscriptionID API_AVAILABLE(watchos(6.0));
-@property (atomic, readonly, assign) CKSubscriptionType subscriptionType API_AVAILABLE(watchos(6.0));
+@property (readonly, copy) CKSubscriptionID subscriptionID API_AVAILABLE(watchos(6.0));
+@property (readonly, assign) CKSubscriptionType subscriptionType API_AVAILABLE(watchos(6.0));
/*! @abstract Describes the notification that will be sent when the subscription fires.
*
* @discussion This property must be set to a non-nil value before saving the @c CKSubscription.
*/
-@property (atomic, copy, nullable) CKNotificationInfo *notificationInfo API_AVAILABLE(watchos(6.0));
+@property (nullable, copy) CKNotificationInfo *notificationInfo API_AVAILABLE(watchos(6.0));
@end
@@ -65,15 +65,15 @@
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
/*! The record type that this subscription watches */
-@property (atomic, readonly, copy) CKRecordType recordType;
+@property (readonly, copy) CKRecordType recordType;
/*! A predicate that determines when the subscription fires. */
-@property (atomic, readonly, copy) NSPredicate *predicate;
+@property (readonly, copy) NSPredicate *predicate;
/*! Optional property. If set, a query subscription is scoped to only record changes in the indicated zone.
* Query Subscriptions that do not specify a @c zoneID are scoped to record changes across all zones in the database.
*/
-@property (atomic, copy, nullable) CKRecordZoneID *zoneID;
+@property (nullable, copy) CKRecordZoneID *zoneID;
/*! @abstract Options flags describing the firing behavior subscription.
*
@@ -82,7 +82,7 @@
* @c CKQuerySubscriptionOptionsFiresOnRecordUpdate, or
* @c CKQuerySubscriptionOptionsFiresOnRecordDeletion must be specified or an @c NSInvalidArgumentException will be thrown.
*/
-@property (atomic, readonly, assign) CKQuerySubscriptionOptions querySubscriptionOptions;
+@property (readonly, assign) CKQuerySubscriptionOptions querySubscriptionOptions;
@end
@@ -103,10 +103,10 @@
- (instancetype)initWithZoneID:(CKRecordZoneID *)zoneID subscriptionID:(CKSubscriptionID)subscriptionID NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
-@property (nonatomic, readonly, copy) CKRecordZoneID *zoneID;
+@property (readonly, copy, nonatomic) CKRecordZoneID *zoneID;
/*! Optional property. If set, a zone subscription is scoped to record changes for this record type */
-@property (atomic, copy, nullable) CKRecordType recordType;
+@property (nullable, copy) CKRecordType recordType;
@end
@@ -128,7 +128,7 @@
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
/*! Optional property. If set, a database subscription is scoped to record changes for this record type */
-@property (atomic, copy, nullable) CKRecordType recordType;
+@property (nullable, copy) CKRecordType recordType;
@end
@@ -146,40 +146,40 @@
@interface CKNotificationInfo : NSObject <NSSecureCoding, NSCopying>
/*! Optional alert string to display in a push notification. */
-@property (atomic, copy, nullable) NSString *alertBody __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *alertBody __TVOS_PROHIBITED;
/*! Instead of a raw alert string, you may optionally specify a key for a localized string in your app's Localizable.strings file. */
-@property (atomic, copy, nullable) NSString *alertLocalizationKey __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *alertLocalizationKey __TVOS_PROHIBITED;
/*! A list of field names to take from the matching record that is used as substitution variables in a formatted alert string. */
-@property (atomic, copy, nullable) NSArray<CKRecordFieldKey> *alertLocalizationArgs __TVOS_PROHIBITED;
+@property (nullable, copy) NSArray<CKRecordFieldKey> *alertLocalizationArgs __TVOS_PROHIBITED;
/*! Optional title of the alert to display in a push notification. */
-@property (atomic, copy, nullable) NSString *title API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *title API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
/*! Instead of a raw title string, you may optionally specify a key for a localized string in your app's Localizable.strings file. */
-@property (atomic, copy, nullable) NSString *titleLocalizationKey API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *titleLocalizationKey API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
/*! A list of field names to take from the matching record that is used as substitution variables in a formatted title string. */
-@property (atomic, copy, nullable) NSArray<CKRecordFieldKey> *titleLocalizationArgs API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSArray<CKRecordFieldKey> *titleLocalizationArgs API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
/*! Optional subtitle of the alert to display in a push notification. */
-@property (atomic, copy, nullable) NSString *subtitle API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *subtitle API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
/*! Instead of a raw subtitle string, you may optionally specify a key for a localized string in your app's Localizable.strings file. */
-@property (atomic, copy, nullable) NSString *subtitleLocalizationKey API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *subtitleLocalizationKey API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
/*! A list of field names to take from the matching record that is used as substitution variables in a formatted subtitle string. */
-@property (atomic, copy, nullable) NSArray<CKRecordFieldKey> *subtitleLocalizationArgs API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSArray<CKRecordFieldKey> *subtitleLocalizationArgs API_AVAILABLE(macos(10.13), ios(11.0)) __TVOS_PROHIBITED;
/*! A key for a localized string to be used as the alert action in a modal style notification. */
-@property (atomic, copy, nullable) NSString *alertActionLocalizationKey __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *alertActionLocalizationKey __TVOS_PROHIBITED;
/*! The name of an image in your app bundle to be used as the launch image when launching in response to the notification. */
-@property (atomic, copy, nullable) NSString *alertLaunchImage __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *alertLaunchImage __TVOS_PROHIBITED;
/*! The name of a sound file in your app bundle to play upon receiving the notification. */
-@property (atomic, copy, nullable) NSString *soundName __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *soundName __TVOS_PROHIBITED;
/*! @abstract A list of keys from the matching record to include in the notification payload.
*
@@ -190,22 +190,22 @@
* - NSNumber
* - NSString
*/
-@property (atomic, copy, nullable) NSArray<CKRecordFieldKey> *desiredKeys;
+@property (nullable, copy) NSArray<CKRecordFieldKey> *desiredKeys;
/*! Indicates that the notification should increment the app's badge count. Default value is @c NO. */
-@property (atomic, assign) BOOL shouldBadge API_AVAILABLE(tvos(10.0));
+@property (assign) BOOL shouldBadge API_AVAILABLE(tvos(10.0));
/*! @abstract Indicates that the notification should be sent with the "content-available" flag to allow for background downloads in the application.
*
* @discussion Default value is @c NO.
*/
-@property (atomic, assign) BOOL shouldSendContentAvailable;
+@property (assign) BOOL shouldSendContentAvailable;
/*! @abstract Indicates that the notification should be sent with the "mutable-content" flag to allow a Notification Service app extension to modify or replace the push payload.
*
* @discussion Default value is @c NO.
*/
-@property (atomic, assign) BOOL shouldSendMutableContent API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+@property (assign) BOOL shouldSendMutableContent API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
/*! @abstract Optional property for the category to be sent with the push when this subscription fires.
@@ -214,13 +214,13 @@
*
* @see UIMutableUserNotificationCategory
*/
-@property (atomic, copy, nullable) NSString *category API_AVAILABLE(macos(10.11), ios(9.0)) __TVOS_PROHIBITED;
+@property (nullable, copy) NSString *category API_AVAILABLE(macos(10.11), ios(9.0)) __TVOS_PROHIBITED;
/*! @abstract Optional property specifying a field name to take from the matching record whose value is used as the apns-collapse-id header.
*
* @see APNs Notification API documentation
*/
-@property (atomic, copy, nullable) NSString *collapseIDKey API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+@property (nullable, copy) NSString *collapseIDKey API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngine.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngine.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngine.h 2023-05-19 22:14:14
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngine.h 2023-06-13 02:19:54
@@ -139,11 +139,11 @@
+ (instancetype)new NS_UNAVAILABLE;
/// The database this sync engine will sync with.
-@property (atomic, readonly, strong) CKDatabase *database;
+@property (readonly, strong) CKDatabase *database;
/// A collection of state properties used to efficiently manage sync engine operation.
/// See ``CKSyncEngineState`` for more details.
-@property (atomic, readonly, strong) CKSyncEngineState *state;
+@property (readonly, strong) CKSyncEngineState *state;
#pragma mark - Fetching and Sending
@@ -265,20 +265,18 @@
@interface CKSyncEngineFetchChangesOptions : NSObject
/// The scope of zone IDs in which to fetch changes.
-/// For example, if you only want to fetch changes for a particular zone, you can set the zone ID here.
+///
+/// If you only want to fetch changes for a particular set of zones, you can initialize your options with those zone IDs.
/// If this is `nil`, then the request will include all zones.
-@property (nullable, nonatomic, copy) NSArray<CKRecordZoneID *> *zoneIDs;
+@property (nullable, readonly, copy) NSArray<CKRecordZoneID *> *zoneIDs;
/// The operation group to use for the underlying operations when fetching changes.
///
/// You might set an operation group with a particular name in order to help you analyze telemetry in the CloudKit Console.
-@property (nonatomic, strong) CKOperationGroup *operationGroup;
+/// If you don't provide an operation group, a default one will be created for you.
+@property (strong) CKOperationGroup *operationGroup;
-/// Initializes a new set of request options with the given zone IDs and operation group.
-///
-/// If no operation group is specified, a default one will be used.
-- (instancetype)initWithZoneIDs:(nullable NSArray<CKRecordZoneID *> *)zoneIDs
- operationGroup:(nullable CKOperationGroup *)operationGroup;
+- (instancetype)initWithZoneIDs:(nullable NSArray<CKRecordZoneID *> *)zoneIDs;
@end
@@ -290,21 +288,27 @@
@interface CKSyncEngineSendChangesOptions : NSObject
/// The scope of zone IDs in which to send changes.
-///
-/// For example, if you only want to send changes for a particular zone, you can set the zone ID here.
-/// If this is `nil`, then this will send changes for all zones.
-@property (nullable, nonatomic, copy) NSArray<CKRecordZoneID *> *zoneIDs;
+///
+/// If you only want to send changes for a particular set of zones, you can initialize your options with those zone IDs.
+/// When creating the next batch of changes to send to the server, consult this and only send changes within these zones.
+/// If this and `recordIDs` are `nil`, then you should send all changes.
+@property (nullable, readonly, copy) NSArray<CKRecordZoneID *> *zoneIDs;
+/// The scope of record IDs in which to send changes.
+///
+/// If you only want to send changes for a particular set of records, you can initialize your options with those records IDs.
+/// When creating the next batch of changes to send to the server, consult this property and only send changes for these record IDs.
+/// If this and `zoneIDs` are `nil`, then you should send all changes.
+@property (nullable, readonly, copy) NSArray<CKRecordID *> *recordIDs;
+
/// The operation group to use for the underlying operations when sending changes.
///
/// You might set an operation group with a particular name in order to help you analyze telemetry in the CloudKit Console.
-@property (nonatomic, strong) CKOperationGroup *operationGroup;
+/// If you don't provide an operation group, a default one will be created for you.
+@property (strong) CKOperationGroup *operationGroup;
-/// Initializes a new set of request options with the given zone IDs and operation group.
-///
-/// If no operation group is specified, a default one will be used.
-- (instancetype)initWithZoneIDs:(nullable NSArray<CKRecordZoneID *> *)zoneIDs
- operationGroup:(nullable CKOperationGroup *)operationGroup;
+- (instancetype)initWithZoneIDs:(nullable NSArray<CKRecordZoneID *> *)zoneIDs;
+- (instancetype)initWithRecordIDs:(nullable NSArray<CKRecordID *> *)recordIDs;
@end
@@ -335,10 +339,10 @@
+ (instancetype)new NS_UNAVAILABLE;
/// The reason why the sync engine is attempting to send changes.
-@property (nonatomic, readonly) CKSyncEngineSyncReason reason;
+@property (readonly, assign, nonatomic) CKSyncEngineSyncReason reason;
/// The options being used for this attempt to send changes.
-@property (nonatomic, readonly) CKSyncEngineSendChangesOptions *options;
+@property (readonly, strong, nonatomic) CKSyncEngineSendChangesOptions *options;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineConfiguration.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineConfiguration.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineConfiguration.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineConfiguration.h 2023-06-10 03:30:23
@@ -35,15 +35,15 @@
/// It's also technically possible to have multiple instances of `CKSyncEngine` for the same `CKDatabase`.
/// This isn't recommended for production code, but it can be helpful for testing your `CKSyncEngine` integration.
/// For example, you might make multiple `CKSyncEngine` instances to simulate multiple devices syncing back and forth.
-@property (atomic, strong) CKDatabase *database;
+@property (strong) CKDatabase *database;
/// The state serialization you last received in a `CKSyncEngineStateUpdateEvent`.
///
/// If this is the first time ever initializing your `CKSyncEngine`, you can provide `nil`.
-@property (nullable, atomic, copy) CKSyncEngineStateSerialization *stateSerialization;
+@property (nullable, copy) CKSyncEngineStateSerialization *stateSerialization;
/// Your implementation of `CKSyncEngineDelegate`.
-@property (atomic, weak) id<CKSyncEngineDelegate> delegate;
+@property (weak) id<CKSyncEngineDelegate> delegate;
/// Whether or not the sync engine should automatically sync on your behalf.
///
@@ -61,7 +61,7 @@
/// You might also disable automatic sync when writing automated tests for your integration with `CKSyncEngine`.
/// This way, you can have fine grained control over exactly when the sync engine fetches or sends changes.
/// This allows you to simulate edge cases and deterministically test your logic around scenarios like conflict resolution and error handling.
-@property (atomic, assign) BOOL automaticallySync;
+@property (assign) BOOL automaticallySync;
/// An optional override for the sync engine's default database subscription ID.
/// Use this for backward compatibility with a previous CloudKit sync implementation.
@@ -72,7 +72,7 @@
///
/// >Note: `CKSyncEngine` will automatically attempt to discover any previous database subscriptions,
/// but you can be more explicit by giving the subscription ID through this configuration option.
-@property (nullable, atomic, copy) CKSubscriptionID subscriptionID;
+@property (nullable, copy) CKSubscriptionID subscriptionID;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineEvent.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineEvent.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineEvent.h 2023-05-19 22:26:54
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineEvent.h 2023-06-10 02:56:00
@@ -117,22 +117,22 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineEvent : NSObject
-@property (atomic, assign, readonly) CKSyncEngineEventType type;
+@property (readonly, assign) CKSyncEngineEventType type;
// Helpers to cast an event to the proper subclass.
// These will crash if used for the wrong event type.
-@property (nonatomic, readonly) CKSyncEngineStateUpdateEvent *stateUpdateEvent;
-@property (nonatomic, readonly) CKSyncEngineAccountChangeEvent *accountChangeEvent;
-@property (nonatomic, readonly) CKSyncEngineFetchedDatabaseChangesEvent *fetchedDatabaseChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineFetchedRecordZoneChangesEvent *fetchedRecordZoneChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineSentDatabaseChangesEvent *sentDatabaseChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineSentRecordZoneChangesEvent *sentRecordZoneChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineWillFetchChangesEvent *willFetchChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineWillFetchRecordZoneChangesEvent *willFetchRecordZoneChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineDidFetchRecordZoneChangesEvent *didFetchRecordZoneChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineDidFetchChangesEvent *didFetchChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineWillSendChangesEvent *willSendChangesEvent;
-@property (nonatomic, readonly) CKSyncEngineDidSendChangesEvent *didSendChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineStateUpdateEvent *stateUpdateEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineAccountChangeEvent *accountChangeEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineFetchedDatabaseChangesEvent *fetchedDatabaseChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineFetchedRecordZoneChangesEvent *fetchedRecordZoneChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineSentDatabaseChangesEvent *sentDatabaseChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineSentRecordZoneChangesEvent *sentRecordZoneChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineWillFetchChangesEvent *willFetchChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineWillFetchRecordZoneChangesEvent *willFetchRecordZoneChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineDidFetchRecordZoneChangesEvent *didFetchRecordZoneChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineDidFetchChangesEvent *didFetchChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineWillSendChangesEvent *willSendChangesEvent;
+@property (readonly, strong, nonatomic) CKSyncEngineDidSendChangesEvent *didSendChangesEvent;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@@ -157,7 +157,7 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineStateUpdateEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) CKSyncEngineStateSerialization *stateSerialization;
+@property (readonly, copy, nonatomic) CKSyncEngineStateSerialization *stateSerialization;
@end
@@ -204,19 +204,19 @@
@interface CKSyncEngineAccountChangeEvent : CKSyncEngineEvent
/// The type of account change that occurred.
-@property (nonatomic, readonly) CKSyncEngineAccountChangeType changeType;
+@property (readonly, assign, nonatomic) CKSyncEngineAccountChangeType changeType;
/// The user record ID for the previous user.
///
/// If the user just signed in, this will be `nil`.
/// If the user signed out or switched accounts, this will be the old account.
-@property (nullable, nonatomic, readonly, copy) CKRecordID *previousUser;
+@property (nullable, readonly, copy, nonatomic) CKRecordID *previousUser;
/// The user record ID for the current user.
///
/// If the user just signed in or switched accounts, this will be the new user record ID.
/// If the user signed out, this will be `nil`.
-@property (nullable, nonatomic, readonly, copy) CKRecordID *currentUser;
+@property (nullable, readonly, copy, nonatomic) CKRecordID *currentUser;
@end
@@ -231,8 +231,8 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineFetchedDatabaseChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) NSArray<CKRecordZone *> *modifications;
-@property (nonatomic, readonly, copy) NSArray<CKSyncEngineFetchedZoneDeletion *> *deletions;
+@property (readonly, copy, nonatomic) NSArray<CKRecordZone *> *modifications;
+@property (readonly, copy, nonatomic) NSArray<CKSyncEngineFetchedZoneDeletion *> *deletions;
@end
@@ -247,8 +247,8 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineFetchedRecordZoneChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) NSArray<CKRecord *> *modifications;
-@property (nonatomic, readonly, copy) NSArray<CKSyncEngineFetchedRecordDeletion *> *deletions;
+@property (readonly, copy, nonatomic) NSArray<CKRecord *> *modifications;
+@property (readonly, copy, nonatomic) NSArray<CKSyncEngineFetchedRecordDeletion *> *deletions;
@end
@@ -261,11 +261,11 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineSentDatabaseChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) NSArray<CKRecordZone *> *savedZones;
-@property (nonatomic, readonly, copy) NSArray<CKSyncEngineFailedZoneSave *> *failedZoneSaves;
+@property (readonly, copy, nonatomic) NSArray<CKRecordZone *> *savedZones;
+@property (readonly, copy, nonatomic) NSArray<CKSyncEngineFailedZoneSave *> *failedZoneSaves;
-@property (nonatomic, readonly, copy) NSArray<CKRecordZoneID *> *deletedZoneIDs;
-@property (nonatomic, readonly, copy) NSDictionary<CKRecordZoneID *, NSError *> *failedZoneDeletes;
+@property (readonly, copy, nonatomic) NSArray<CKRecordZoneID *> *deletedZoneIDs;
+@property (readonly, copy, nonatomic) NSDictionary<CKRecordZoneID *, NSError *> *failedZoneDeletes;
@end
@@ -282,11 +282,11 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineSentRecordZoneChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) NSArray<CKRecord *> *savedRecords;
-@property (nonatomic, readonly, copy) NSArray<CKSyncEngineFailedRecordSave *> *failedRecordSaves;
+@property (readonly, copy, nonatomic) NSArray<CKRecord *> *savedRecords;
+@property (readonly, copy, nonatomic) NSArray<CKSyncEngineFailedRecordSave *> *failedRecordSaves;
-@property (nonatomic, readonly, copy) NSArray<CKRecordID *> *deletedRecordIDs;
-@property (nonatomic, readonly, copy) NSDictionary<CKRecordID *, NSError *> *failedRecordDeletes;
+@property (readonly, copy, nonatomic) NSArray<CKRecordID *> *deletedRecordIDs;
+@property (readonly, copy, nonatomic) NSDictionary<CKRecordID *, NSError *> *failedRecordDeletes;
@end
@@ -314,7 +314,7 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineWillFetchRecordZoneChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) CKRecordZoneID *zoneID;
+@property (readonly, copy, nonatomic) CKRecordZoneID *zoneID;
@end
@@ -329,8 +329,8 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineDidFetchRecordZoneChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly, copy) CKRecordZoneID *zoneID;
-@property (nullable, nonatomic, readonly, copy) NSError *error;
+@property (readonly, copy, nonatomic) CKRecordZoneID *zoneID;
+@property (nullable, readonly, copy, nonatomic) NSError *error;
@end
@@ -353,7 +353,7 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineWillSendChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly) CKSyncEngineSendChangesContext *context;
+@property (readonly, strong, nonatomic) CKSyncEngineSendChangesContext *context;
@end
@@ -366,7 +366,7 @@
NS_SWIFT_SENDABLE
@interface CKSyncEngineDidSendChangesEvent : CKSyncEngineEvent
-@property (nonatomic, readonly) CKSyncEngineSendChangesContext *context;
+@property (readonly, strong, nonatomic) CKSyncEngineSendChangesContext *context;
@end
@@ -381,8 +381,8 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (nonatomic, readonly, copy) CKRecordID *recordID;
-@property (nonatomic, readonly, copy) CKRecordType recordType;
+@property (readonly, copy, nonatomic) CKRecordID *recordID;
+@property (readonly, copy, nonatomic) CKRecordType recordType;
@end
@@ -401,14 +401,6 @@
CKSyncEngineZoneDeletionReasonEncryptedDataReset,
};
-API_DEPRECATED_WITH_REPLACEMENT("CKSyncEngineZoneDeletionReason", macos(14.0, 14.0), ios(17.0, 17.0), tvos(17.0, 17.0), watchos(10.0, 10.0))
-NS_REFINED_FOR_SWIFT
-typedef NS_ENUM(NSInteger, CKSyncEngineZoneDeletionType) {
- CKSyncEngineZoneDeletionTypeDeleted,
- CKSyncEngineZoneDeletionTypeUserDeleted,
- CKSyncEngineZoneDeletionTypeEncryptedDataReset,
-};
-
API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0))
NS_REFINED_FOR_SWIFT
CK_SUBCLASSING_RESTRICTED
@@ -418,9 +410,8 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (nonatomic, readonly, copy) CKRecordZoneID *zoneID;
-@property (nonatomic, readonly) CKSyncEngineZoneDeletionType type API_DEPRECATED_WITH_REPLACEMENT("reason", macos(14.0, 14.0), ios(17.0, 17.0), tvos(17.0, 17.0), watchos(10.0, 10.0));
-@property (nonatomic, readonly) CKSyncEngineZoneDeletionReason reason;
+@property (readonly, copy, nonatomic) CKRecordZoneID *zoneID;
+@property (readonly, assign, nonatomic) CKSyncEngineZoneDeletionReason reason;
@end
@@ -433,8 +424,8 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (nonatomic, readonly, strong) CKRecord *record;
-@property (nonatomic, readonly, strong) NSError *error;
+@property (readonly, strong, nonatomic) CKRecord *record;
+@property (readonly, strong, nonatomic) NSError *error;
@end
@@ -447,8 +438,8 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (nonatomic, readonly, strong) CKRecordZone *recordZone;
-@property (nonatomic, readonly, strong) NSError *error;
+@property (readonly, strong, nonatomic) CKRecordZone *recordZone;
+@property (readonly, strong, nonatomic) NSError *error;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineRecordZoneChangeBatch.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineRecordZoneChangeBatch.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineRecordZoneChangeBatch.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineRecordZoneChangeBatch.h 2023-06-12 01:40:13
@@ -50,17 +50,17 @@
+ (instancetype)new NS_UNAVAILABLE;
/// The records to save to the server.
-@property (atomic, readonly) NSArray<CKRecord *> *recordsToSave;
+@property (readonly, copy) NSArray<CKRecord *> *recordsToSave;
/// The IDs of the records to delete from the server.
-@property (atomic, readonly) NSArray<CKRecordID *> *recordIDsToDelete;
+@property (readonly, copy) NSArray<CKRecordID *> *recordIDsToDelete;
/// If set to true, the sync engine will modify these records atomically by zone.
///
/// If this is true, and if any record change fails, then any other changes from that zone in this batch will also fail with ``CKErrorBatchRequestFailed``.
///
/// Records that exist in different zones will not be modified together atomically.
-@property (atomic, assign) BOOL atomicByZone;
+@property (assign) BOOL atomicByZone;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineState.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineState.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineState.h 2023-05-19 22:21:00
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSyncEngineState.h 2023-06-12 01:40:13
@@ -58,17 +58,17 @@
/// If it fails to send a change due to some retryable error (e.g. a network failure), it will keep that change in this list.
///
/// If you'd prefer to track pending changes yourself, you can use `hasPendingUntrackedChanges` instead.
-@property (atomic, readonly, copy) NSArray<CKSyncEnginePendingRecordZoneChange *> *pendingRecordZoneChanges;
+@property (readonly, copy) NSArray<CKSyncEnginePendingRecordZoneChange *> *pendingRecordZoneChanges;
/// A list of database changes that need to be sent to the server, similar to `pendingRecordZoneChanges`.
-@property (atomic, readonly, copy) NSArray<CKSyncEnginePendingDatabaseChange *> *pendingDatabaseChanges;
+@property (readonly, copy) NSArray<CKSyncEnginePendingDatabaseChange *> *pendingDatabaseChanges;
/// This represents whether or not you have pending changes to send to the server that aren't tracked in `pendingRecordZoneChanges`.
/// This is useful if you want to track pending changes in your own local database instead of the sync engine state.
///
/// When this property is set, the sync engine will automatically schedule a sync.
/// When the sync task runs, it will ask your delegate for pending changes in `nextRecordZoneChangeBatch`.
-@property (atomic, assign) BOOL hasPendingUntrackedChanges;
+@property (assign) BOOL hasPendingUntrackedChanges;
/// Adds to the list of pending record zone changes.
///
@@ -127,8 +127,8 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (nonatomic, readonly, copy) CKRecordID *recordID;
-@property (nonatomic, readonly) CKSyncEnginePendingRecordZoneChangeType type;
+@property (readonly, copy, nonatomic) CKRecordID *recordID;
+@property (readonly, assign, nonatomic) CKSyncEnginePendingRecordZoneChangeType type;
@end
@@ -149,8 +149,8 @@
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
-@property (nonatomic, readonly, copy) CKRecordZoneID *zoneID;
-@property (nonatomic, readonly) CKSyncEnginePendingDatabaseChangeType type;
+@property (readonly, copy, nonatomic) CKRecordZoneID *zoneID;
+@property (readonly, assign, nonatomic) CKSyncEnginePendingDatabaseChangeType type;
@end
@@ -163,7 +163,7 @@
- (instancetype)initWithZone:(CKRecordZone *)zone NS_SWIFT_NAME(init(_:));
-@property (nonatomic, readonly, copy) CKRecordZone *zone;
+@property (readonly, copy, nonatomic) CKRecordZone *zone;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSystemSharingUIObserver.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSystemSharingUIObserver.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSystemSharingUIObserver.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKSystemSharingUIObserver.h 2023-06-12 01:40:13
@@ -30,13 +30,13 @@
* Following a save failure due to a per-item error (@c CKErrorServerRecordChanged, for example), this callback will be invoked with a nonnull @c recordID, a nil @c share, and a nonnull @c error
* Each @c CKSystemSharingUIObserver instance has a private serial queue. This queue is used for all callback block invocations.
*/
-@property (atomic, copy, nullable) NS_SWIFT_SENDABLE void (^systemSharingUIDidSaveShareBlock)(CKRecordID *recordID, CKShare * _Nullable share, NSError * _Nullable error) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy) NS_SWIFT_SENDABLE void (^systemSharingUIDidSaveShareBlock)(CKRecordID *recordID, CKShare * _Nullable share, NSError * _Nullable error) NS_REFINED_FOR_SWIFT;
/*! @abstract Called on success or failure of a @c CKShare delete when the user decides to stop sharing via the system sharing UI
*
* @discussion Each @c CKSystemSharingUIObserver instance has a private serial queue. This queue is used for all callback block invocations.
*/
-@property (atomic, copy, nullable) NS_SWIFT_SENDABLE void (^systemSharingUIDidStopSharingBlock)(CKRecordID *recordID, NSError * _Nullable error) NS_REFINED_FOR_SWIFT;
+@property (nullable, copy) NS_SWIFT_SENDABLE void (^systemSharingUIDidStopSharingBlock)(CKRecordID *recordID, NSError * _Nullable error) NS_REFINED_FOR_SWIFT;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentity.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentity.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentity.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentity.h 2023-06-12 01:40:13
@@ -22,10 +22,10 @@
+ (instancetype)new NS_UNAVAILABLE;
/*! This is the @c lookupInfo you passed in to @c CKDiscoverUserIdentitiesOperation or @c CKFetchShareParticipantsOperation */
-@property (atomic, readonly, copy, nullable) CKUserIdentityLookupInfo *lookupInfo;
+@property (nullable, readonly, copy) CKUserIdentityLookupInfo *lookupInfo;
-@property (atomic, readonly, copy, nullable) NSPersonNameComponents *nameComponents;
-@property (atomic, readonly, copy, nullable) CKRecordID *userRecordID;
+@property (nullable, readonly, copy) NSPersonNameComponents *nameComponents;
+@property (nullable, readonly, copy) CKRecordID *userRecordID;
/*! @abstract Link to the Contacts database.
*
@@ -37,10 +37,10 @@
*
* @see Contacts.framework and CNContact.identifier
*/
-@property (atomic, readonly, copy) NSArray<NSString *> *contactIdentifiers API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0)) API_UNAVAILABLE(tvos);
+@property (readonly, copy) NSArray<NSString *> *contactIdentifiers API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0)) API_UNAVAILABLE(tvos);
-@property (atomic, readonly, assign) BOOL hasiCloudAccount;
+@property (readonly, assign) BOOL hasiCloudAccount;
@end
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentityLookupInfo.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentityLookupInfo.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentityLookupInfo.h 2023-05-19 21:55:44
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CKUserIdentityLookupInfo.h 2023-06-12 01:40:13
@@ -28,9 +28,9 @@
+ (NSArray<CKUserIdentityLookupInfo *> *)lookupInfosWithPhoneNumbers:(NSArray<NSString *> *)phoneNumbers;
+ (NSArray<CKUserIdentityLookupInfo *> *)lookupInfosWithRecordIDs:(NSArray<CKRecordID *> *)recordIDs;
-@property (atomic, readonly, copy, nullable) NSString *emailAddress;
-@property (atomic, readonly, copy, nullable) NSString *phoneNumber;
-@property (atomic, readonly, copy, nullable) CKRecordID *userRecordID;
+@property (nullable, readonly, copy) NSString *emailAddress;
+@property (nullable, readonly, copy) NSString *phoneNumber;
+@property (nullable, readonly, copy) CKRecordID *userRecordID;
@end
NS_HEADER_AUDIT_END(nullability, sendability)
- 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