Documentation Archive Developer
Search

CloudKit Changes for Objective-C

CloudKit

CKAsset.h

Declaration
From
@property(nonatomic, readonly, copy) NSURL *fileURL
To
@property(nonatomic, readonly, copy, nonnull) NSURL *fileURL

Declaration
From
- (instancetype)initWithFileURL:(NSURL *)fileURL
To
- (instancetype _Nonnull)initWithFileURL:(NSURL * _Nonnull)fileURL

CKContainer.h

Declaration
From
- (void)accountStatusWithCompletionHandler:(void (^)(CKAccountStatus accountStatus, NSError *error))completionHandler
To
- (void)accountStatusWithCompletionHandler:(void (^ _Nonnull)(CKAccountStatus accountStatus, NSError * _Nullable error))completionHandler

Declaration
From
- (void)addOperation:(CKOperation *)operation
To
- (void)addOperation:(CKOperation * _Nonnull)operation

Declaration
From
@property(nonatomic, readonly) NSString *containerIdentifier
To
@property(nonatomic, readonly, nullable) NSString *containerIdentifier

Declaration
From
+ (CKContainer *)containerWithIdentifier:(NSString *)containerIdentifier
To
+ (CKContainer * _Nonnull)containerWithIdentifier:(NSString * _Nonnull)containerIdentifier

Declaration
From
+ (CKContainer *)defaultContainer
To
+ (CKContainer * _Nonnull)defaultContainer

Declaration
From
- (void)discoverAllContactUserInfosWithCompletionHandler:(void (^)(NSArray *userInfos, NSError *error))completionHandler
To
- (void)discoverAllContactUserInfosWithCompletionHandler:(void (^ _Nonnull)(NSArray<CKDiscoveredUserInfo *> * _Nullable userInfos, NSError * _Nullable error))completionHandler

Declaration
From
- (void)discoverUserInfoWithEmailAddress:(NSString *)email completionHandler:(void (^)(CKDiscoveredUserInfo *userInfo, NSError *error))completionHandler
To
- (void)discoverUserInfoWithEmailAddress:(NSString * _Nonnull)email completionHandler:(void (^ _Nonnull)(CKDiscoveredUserInfo * _Nullable userInfo, NSError * _Nullable error))completionHandler

Declaration
From
- (void)discoverUserInfoWithUserRecordID:(CKRecordID *)userRecordID completionHandler:(void (^)(CKDiscoveredUserInfo *userInfo, NSError *error))completionHandler
To
- (void)discoverUserInfoWithUserRecordID:(CKRecordID * _Nonnull)userRecordID completionHandler:(void (^ _Nonnull)(CKDiscoveredUserInfo * _Nullable userInfo, NSError * _Nullable error))completionHandler

Declaration
From
- (void)fetchUserRecordIDWithCompletionHandler:(void (^)(CKRecordID *recordID, NSError *error))completionHandler
To
- (void)fetchUserRecordIDWithCompletionHandler:(void (^ _Nonnull)(CKRecordID * _Nullable recordID, NSError * _Nullable error))completionHandler

Declaration
From
@property(nonatomic, readonly) CKDatabase *privateCloudDatabase
To
@property(nonatomic, readonly, nonnull) CKDatabase *privateCloudDatabase

Declaration
From
@property(nonatomic, readonly) CKDatabase *publicCloudDatabase
To
@property(nonatomic, readonly, nonnull) CKDatabase *publicCloudDatabase

Declaration
From
- (void)requestApplicationPermission:(CKApplicationPermissions)applicationPermission completionHandler:(CKApplicationPermissionBlock)completionHandler
To
- (void)requestApplicationPermission:(CKApplicationPermissions)applicationPermission completionHandler:(CKApplicationPermissionBlock _Nonnull)completionHandler

Declaration
From
- (void)statusForApplicationPermission:(CKApplicationPermissions)applicationPermission completionHandler:(CKApplicationPermissionBlock)completionHandler
To
- (void)statusForApplicationPermission:(CKApplicationPermissions)applicationPermission completionHandler:(CKApplicationPermissionBlock _Nonnull)completionHandler

CKDatabase.h

Declaration
From
- (void)addOperation:(CKDatabaseOperation *)operation
To
- (void)addOperation:(CKDatabaseOperation * _Nonnull)operation

Declaration
From
- (void)deleteRecordWithID:(CKRecordID *)recordID completionHandler:(void (^)(CKRecordID *recordID, NSError *error))completionHandler
To
- (void)deleteRecordWithID:(CKRecordID * _Nonnull)recordID completionHandler:(void (^ _Nonnull)(CKRecordID * _Nullable recordID, NSError * _Nullable error))completionHandler

Declaration
From
- (void)deleteRecordZoneWithID:(CKRecordZoneID *)zoneID completionHandler:(void (^)(CKRecordZoneID *zoneID, NSError *error))completionHandler
To
- (void)deleteRecordZoneWithID:(CKRecordZoneID * _Nonnull)zoneID completionHandler:(void (^ _Nonnull)(CKRecordZoneID * _Nullable zoneID, NSError * _Nullable error))completionHandler

Declaration
From
- (void)deleteSubscriptionWithID:(NSString *)subscriptionID completionHandler:(void (^)(NSString *subscriptionID, NSError *error))completionHandler
To
- (void)deleteSubscriptionWithID:(NSString * _Nonnull)subscriptionID completionHandler:(void (^ _Nonnull)(NSString * _Nullable subscriptionID, NSError * _Nullable error))completionHandler

Declaration
From
- (void)fetchAllRecordZonesWithCompletionHandler:(void (^)(NSArray *zones, NSError *error))completionHandler
To
- (void)fetchAllRecordZonesWithCompletionHandler:(void (^ _Nonnull)(NSArray<CKRecordZone *> * _Nullable zones, NSError * _Nullable error))completionHandler

Declaration
From
- (void)fetchAllSubscriptionsWithCompletionHandler:(void (^)(NSArray *subscriptions, NSError *error))completionHandler
To
- (void)fetchAllSubscriptionsWithCompletionHandler:(void (^ _Nonnull)(NSArray<CKSubscription *> * _Nullable subscriptions, NSError * _Nullable error))completionHandler

Declaration
From
- (void)fetchRecordWithID:(CKRecordID *)recordID completionHandler:(void (^)(CKRecord *record, NSError *error))completionHandler
To
- (void)fetchRecordWithID:(CKRecordID * _Nonnull)recordID completionHandler:(void (^ _Nonnull)(CKRecord * _Nullable record, NSError * _Nullable error))completionHandler

Declaration
From
- (void)fetchRecordZoneWithID:(CKRecordZoneID *)zoneID completionHandler:(void (^)(CKRecordZone *zone, NSError *error))completionHandler
To
- (void)fetchRecordZoneWithID:(CKRecordZoneID * _Nonnull)zoneID completionHandler:(void (^ _Nonnull)(CKRecordZone * _Nullable zone, NSError * _Nullable error))completionHandler

Declaration
From
- (void)fetchSubscriptionWithID:(NSString *)subscriptionID completionHandler:(void (^)(CKSubscription *subscription, NSError *error))completionHandler
To
- (void)fetchSubscriptionWithID:(NSString * _Nonnull)subscriptionID completionHandler:(void (^ _Nonnull)(CKSubscription * _Nullable subscription, NSError * _Nullable error))completionHandler

Declaration
From
- (void)performQuery:(CKQuery *)query inZoneWithID:(CKRecordZoneID *)zoneID completionHandler:(void (^)(NSArray *results, NSError *error))completionHandler
To
- (void)performQuery:(CKQuery * _Nonnull)query inZoneWithID:(CKRecordZoneID * _Nullable)zoneID completionHandler:(void (^ _Nonnull)(NSArray<CKRecord *> * _Nullable results, NSError * _Nullable error))completionHandler

Declaration
From
- (void)saveRecord:(CKRecord *)record completionHandler:(void (^)(CKRecord *record, NSError *error))completionHandler
To
- (void)saveRecord:(CKRecord * _Nonnull)record completionHandler:(void (^ _Nonnull)(CKRecord * _Nullable record, NSError * _Nullable error))completionHandler

Declaration
From
- (void)saveRecordZone:(CKRecordZone *)zone completionHandler:(void (^)(CKRecordZone *zone, NSError *error))completionHandler
To
- (void)saveRecordZone:(CKRecordZone * _Nonnull)zone completionHandler:(void (^ _Nonnull)(CKRecordZone * _Nullable zone, NSError * _Nullable error))completionHandler

Declaration
From
- (void)saveSubscription:(CKSubscription *)subscription completionHandler:(void (^)(CKSubscription *subscription, NSError *error))completionHandler
To
- (void)saveSubscription:(CKSubscription * _Nonnull)subscription completionHandler:(void (^ _Nonnull)(CKSubscription * _Nullable subscription, NSError * _Nullable error))completionHandler

CKDatabaseOperation.h

Declaration
From
@property(nonatomic, strong) CKDatabase *database
To
@property(nonatomic, strong, nullable) CKDatabase *database

CKDiscoverAllContactsOperation.h

Declaration
From
@property(nonatomic, copy) void (^discoverAllContactsCompletionBlock)(NSArray *userInfos, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^discoverAllContactsCompletionBlock)(NSArray<CKDiscoveredUserInfo *> * _Nullable userInfos, NSError * _Nullable operationError)

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

CKDiscoveredUserInfo.h

DeclarationDeprecation
From
@property(nonatomic, readonly, copy) NSString *firstName
--
To
@property(nonatomic, readonly, copy, nullable) NSString *firstName
OS X 10.11

DeclarationDeprecation
From
@property(nonatomic, readonly, copy) NSString *lastName
--
To
@property(nonatomic, readonly, copy, nullable) NSString *lastName
OS X 10.11

Declaration
From
@property(nonatomic, readonly, copy) CKRecordID *userRecordID
To
@property(nonatomic, readonly, copy, nullable) CKRecordID *userRecordID

CKDiscoverUserInfosOperation.h

Declaration
From
@property(nonatomic, copy) void (^discoverUserInfosCompletionBlock)(NSDictionary *emailsToUserInfos, NSDictionary *userRecordIDsToUserInfos, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^discoverUserInfosCompletionBlock)(NSDictionary<NSString *,CKDiscoveredUserInfo *> * _Nullable emailsToUserInfos, NSDictionary<CKRecordID *,CKDiscoveredUserInfo *> * _Nullable userRecordIDsToUserInfos, NSError * _Nullable operationError)

Declaration
From
@property(nonatomic, copy) NSArray *emailAddresses
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *emailAddresses

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithEmailAddresses:(NSArray *)emailAddresses userRecordIDs:(NSArray *)userRecordIDs
To
- (instancetype _Nonnull)initWithEmailAddresses:(NSArray<NSString *> * _Nullable)emailAddresses userRecordIDs:(NSArray<CKRecordID *> * _Nullable)userRecordIDs

Declaration
From
@property(nonatomic, copy) NSArray *userRecordIDs
To
@property(nonatomic, copy, nullable) NSArray<CKRecordID *> *userRecordIDs

CKFetchNotificationChangesOperation.h

Declaration
From
@property(nonatomic, copy) void (^fetchNotificationChangesCompletionBlock)(CKServerChangeToken *serverChangeToken, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^fetchNotificationChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, NSError * _Nullable operationError)

Declaration
From
- (instancetype)initWithPreviousServerChangeToken:(CKServerChangeToken *)previousServerChangeToken
To
- (instancetype _Nonnull)initWithPreviousServerChangeToken:(CKServerChangeToken * _Nullable)previousServerChangeToken

Declaration
From
@property(nonatomic, copy) void (^notificationChangedBlock)(CKNotification *notification)
To
@property(nonatomic, copy, nullable) void (^notificationChangedBlock)(CKNotification * _Nonnull notification)

Declaration
From
@property(nonatomic, copy) CKServerChangeToken *previousServerChangeToken
To
@property(nonatomic, copy, nullable) CKServerChangeToken *previousServerChangeToken

CKFetchRecordChangesOperation.h

Declaration
From
@property(nonatomic, copy) NSArray *desiredKeys
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *desiredKeys

Declaration
From
@property(nonatomic, copy) void (^fetchRecordChangesCompletionBlock)(CKServerChangeToken *serverChangeToken, NSData *clientChangeTokenData, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^fetchRecordChangesCompletionBlock)(CKServerChangeToken * _Nullable serverChangeToken, NSData * _Nullable clientChangeTokenData, NSError * _Nullable operationError)

Declaration
From
- (instancetype)initWithRecordZoneID:(CKRecordZoneID *)recordZoneID previousServerChangeToken:(CKServerChangeToken *)previousServerChangeToken
To
- (instancetype _Nonnull)initWithRecordZoneID:(CKRecordZoneID * _Nonnull)recordZoneID previousServerChangeToken:(CKServerChangeToken * _Nullable)previousServerChangeToken

Declaration
From
@property(nonatomic, copy) CKServerChangeToken *previousServerChangeToken
To
@property(nonatomic, copy, nullable) CKServerChangeToken *previousServerChangeToken

Declaration
From
@property(nonatomic, copy) void (^recordChangedBlock)(CKRecord *record)
To
@property(nonatomic, copy, nullable) void (^recordChangedBlock)(CKRecord * _Nonnull record)

Declaration
From
@property(nonatomic, copy) void (^recordWithIDWasDeletedBlock)(CKRecordID *recordID)
To
@property(nonatomic, copy, nullable) void (^recordWithIDWasDeletedBlock)(CKRecordID * _Nonnull recordID)

Declaration
From
@property(nonatomic, copy) CKRecordZoneID *recordZoneID
To
@property(nonatomic, copy, nonnull) CKRecordZoneID *recordZoneID

CKFetchRecordsOperation.h

Declaration
From
@property(nonatomic, copy) NSArray *desiredKeys
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *desiredKeys

Declaration
From
+ (instancetype)fetchCurrentUserRecordOperation
To
+ (instancetype _Nonnull)fetchCurrentUserRecordOperation

Declaration
From
@property(nonatomic, copy) void (^fetchRecordsCompletionBlock)(NSDictionary *recordsByRecordID, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^fetchRecordsCompletionBlock)(NSDictionary<CKRecordID *,CKRecord *> * _Nullable recordsByRecordID, NSError * _Nullable operationError)

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithRecordIDs:(NSArray *)recordIDs
To
- (instancetype _Nonnull)initWithRecordIDs:(NSArray<CKRecordID *> * _Nonnull)recordIDs

Declaration
From
@property(nonatomic, copy) void (^perRecordCompletionBlock)(CKRecord *record, CKRecordID *recordID, NSError *error)
To
@property(nonatomic, copy, nullable) void (^perRecordCompletionBlock)(CKRecord * _Nullable record, CKRecordID * _Nullable recordID, NSError * _Nullable error)

Declaration
From
@property(nonatomic, copy) void (^perRecordProgressBlock)(CKRecordID *recordID, double progress)
To
@property(nonatomic, copy, nullable) void (^perRecordProgressBlock)(CKRecordID * _Nonnull recordID, double progress)

Declaration
From
@property(nonatomic, copy) NSArray *recordIDs
To
@property(nonatomic, copy, nullable) NSArray<CKRecordID *> *recordIDs

CKFetchRecordZonesOperation.h

Declaration
From
+ (instancetype)fetchAllRecordZonesOperation
To
+ (instancetype _Nonnull)fetchAllRecordZonesOperation

Declaration
From
@property(nonatomic, copy) void (^fetchRecordZonesCompletionBlock)(NSDictionary *recordZonesByZoneID, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^fetchRecordZonesCompletionBlock)(NSDictionary<CKRecordZoneID *,CKRecordZone *> * _Nullable recordZonesByZoneID, NSError * _Nullable operationError)

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithRecordZoneIDs:(NSArray *)zoneIDs
To
- (instancetype _Nonnull)initWithRecordZoneIDs:(NSArray<CKRecordZoneID *> * _Nonnull)zoneIDs

Declaration
From
@property(nonatomic, copy) NSArray *recordZoneIDs
To
@property(nonatomic, copy, nullable) NSArray<CKRecordZoneID *> *recordZoneIDs

CKFetchSubscriptionsOperation.h

Declaration
From
+ (instancetype)fetchAllSubscriptionsOperation
To
+ (instancetype _Nonnull)fetchAllSubscriptionsOperation

Declaration
From
@property(nonatomic, copy) void (^fetchSubscriptionCompletionBlock)(NSDictionary *subscriptionsBySubscriptionID, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^fetchSubscriptionCompletionBlock)(NSDictionary<NSString *,CKSubscription *> * _Nullable subscriptionsBySubscriptionID, NSError * _Nullable operationError)

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithSubscriptionIDs:(NSArray *)subscriptionIDs
To
- (instancetype _Nonnull)initWithSubscriptionIDs:(NSArray<NSString *> * _Nonnull)subscriptionIDs

Declaration
From
@property(nonatomic, copy) NSArray *subscriptionIDs
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *subscriptionIDs

CKLocationSortDescriptor.h

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nonnull)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (instancetype)initWithKey:(NSString *)key relativeLocation:(CLLocation *)relativeLocation
To
- (instancetype _Nonnull)initWithKey:(NSString * _Nonnull)key relativeLocation:(CLLocation * _Nonnull)relativeLocation

Declaration
From
@property(nonatomic, readonly, copy) CLLocation *relativeLocation
To
@property(nonatomic, readonly, copy, nonnull) CLLocation *relativeLocation

CKMarkNotificationsReadOperation.h

Declaration
From
- (instancetype)initWithNotificationIDsToMarkRead:(NSArray *)notificationIDs
To
- (instancetype _Nonnull)initWithNotificationIDsToMarkRead:(NSArray<CKNotificationID *> * _Nonnull)notificationIDs

Declaration
From
@property(nonatomic, copy) void (^markNotificationsReadCompletionBlock)(NSArray *notificationIDsMarkedRead, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^markNotificationsReadCompletionBlock)(NSArray<CKNotificationID *> * _Nullable notificationIDsMarkedRead, NSError * _Nullable operationError)

Declaration
From
@property(nonatomic, copy) NSArray *notificationIDs
To
@property(nonatomic, copy, nonnull) NSArray<CKNotificationID *> *notificationIDs

CKModifyBadgeOperation.h

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithBadgeValue:(NSUInteger)badgeValue
To
- (instancetype _Nonnull)initWithBadgeValue:(NSUInteger)badgeValue

Declaration
From
@property(nonatomic, copy) void (^modifyBadgeCompletionBlock)(NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^modifyBadgeCompletionBlock)(NSError * _Nullable operationError)

CKModifyRecordsOperation.h

Declaration
From
@property(nonatomic, copy) NSData *clientChangeTokenData
To
@property(nonatomic, copy, nullable) NSData *clientChangeTokenData

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithRecordsToSave:(NSArray *)records recordIDsToDelete:(NSArray *)recordIDs
To
- (instancetype _Nonnull)initWithRecordsToSave:(NSArray<CKRecord *> * _Nullable)records recordIDsToDelete:(NSArray<CKRecordID *> * _Nullable)recordIDs

Declaration
From
@property(nonatomic, copy) void (^modifyRecordsCompletionBlock)(NSArray *savedRecords, NSArray *deletedRecordIDs, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^modifyRecordsCompletionBlock)(NSArray<CKRecord *> * _Nullable savedRecords, NSArray<CKRecordID *> * _Nullable deletedRecordIDs, NSError * _Nullable operationError)

Declaration
From
@property(nonatomic, copy) void (^perRecordCompletionBlock)(CKRecord *record, NSError *error)
To
@property(nonatomic, copy, nullable) void (^perRecordCompletionBlock)(CKRecord * _Nullable record, NSError * _Nullable error)

Declaration
From
@property(nonatomic, copy) void (^perRecordProgressBlock)(CKRecord *record, double progress)
To
@property(nonatomic, copy, nullable) void (^perRecordProgressBlock)(CKRecord * _Nonnull record, double progress)

Declaration
From
@property(nonatomic, copy) NSArray *recordIDsToDelete
To
@property(nonatomic, copy, nullable) NSArray<CKRecordID *> *recordIDsToDelete

Declaration
From
@property(nonatomic, copy) NSArray *recordsToSave
To
@property(nonatomic, copy, nullable) NSArray<CKRecord *> *recordsToSave

CKModifyRecordZonesOperation.h

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithRecordZonesToSave:(NSArray *)recordZonesToSave recordZoneIDsToDelete:(NSArray *)recordZoneIDsToDelete
To
- (instancetype _Nonnull)initWithRecordZonesToSave:(NSArray<CKRecordZone *> * _Nullable)recordZonesToSave recordZoneIDsToDelete:(NSArray<CKRecordZoneID *> * _Nullable)recordZoneIDsToDelete

Declaration
From
@property(nonatomic, copy) void (^modifyRecordZonesCompletionBlock)(NSArray *savedRecordZones, NSArray *deletedRecordZoneIDs, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^modifyRecordZonesCompletionBlock)(NSArray<CKRecordZone *> * _Nullable savedRecordZones, NSArray<CKRecordZoneID *> * _Nullable deletedRecordZoneIDs, NSError * _Nullable operationError)

Declaration
From
@property(nonatomic, copy) NSArray *recordZoneIDsToDelete
To
@property(nonatomic, copy, nullable) NSArray<CKRecordZoneID *> *recordZoneIDsToDelete

Declaration
From
@property(nonatomic, copy) NSArray *recordZonesToSave
To
@property(nonatomic, copy, nullable) NSArray<CKRecordZone *> *recordZonesToSave

CKModifySubscriptionsOperation.h

Declaration
From
- (instancetype)initWithSubscriptionsToSave:(NSArray *)subscriptionsToSave subscriptionIDsToDelete:(NSArray *)subscriptionIDsToDelete
To
- (instancetype _Nonnull)initWithSubscriptionsToSave:(NSArray<CKSubscription *> * _Nullable)subscriptionsToSave subscriptionIDsToDelete:(NSArray<NSString *> * _Nullable)subscriptionIDsToDelete

Declaration
From
@property(nonatomic, copy) void (^modifySubscriptionsCompletionBlock)(NSArray *savedSubscriptions, NSArray *deletedSubscriptionIDs, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^modifySubscriptionsCompletionBlock)(NSArray<CKSubscription *> * _Nullable savedSubscriptions, NSArray<NSString *> * _Nullable deletedSubscriptionIDs, NSError * _Nullable operationError)

Declaration
From
@property(nonatomic, copy) NSArray *subscriptionIDsToDelete
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *subscriptionIDsToDelete

Declaration
From
@property(nonatomic, copy) NSArray *subscriptionsToSave
To
@property(nonatomic, copy, nullable) NSArray<CKSubscription *> *subscriptionsToSave

CKNotification.h

Declaration
From
@property(nonatomic, readonly, copy) NSString *alertActionLocalizationKey
To
@property(nonatomic, readonly, copy, nullable) NSString *alertActionLocalizationKey

Declaration
From
@property(nonatomic, readonly, copy) NSString *alertBody
To
@property(nonatomic, readonly, copy, nullable) NSString *alertBody

Declaration
From
@property(nonatomic, readonly, copy) NSString *alertLaunchImage
To
@property(nonatomic, readonly, copy, nullable) NSString *alertLaunchImage

Declaration
From
@property(nonatomic, readonly, copy) NSArray *alertLocalizationArgs
To
@property(nonatomic, readonly, copy, nullable) NSArray<NSString *> *alertLocalizationArgs

Declaration
From
@property(nonatomic, readonly, copy) NSString *alertLocalizationKey
To
@property(nonatomic, readonly, copy, nullable) NSString *alertLocalizationKey

Declaration
From
@property(nonatomic, readonly, copy) NSNumber *badge
To
@property(nonatomic, readonly, copy, nullable) NSNumber *badge

Declaration
From
@property(nonatomic, readonly, copy) NSString *containerIdentifier
To
@property(nonatomic, readonly, copy, nullable) NSString *containerIdentifier

Declaration
From
+ (instancetype)notificationFromRemoteNotificationDictionary:(NSDictionary *)notificationDictionary
To
+ (instancetype _Nonnull)notificationFromRemoteNotificationDictionary:(NSDictionary<NSString *,NSObject *> * _Nonnull)notificationDictionary

Declaration
From
@property(nonatomic, readonly, copy) CKNotificationID *notificationID
To
@property(nonatomic, readonly, copy, nullable) CKNotificationID *notificationID

Declaration
From
@property(nonatomic, readonly, copy) NSString *soundName
To
@property(nonatomic, readonly, copy, nullable) NSString *soundName

Declaration
From
@property(nonatomic, readonly, copy) NSDictionary *recordFields
To
@property(nonatomic, readonly, copy, nullable) NSDictionary<NSString *,__kindof id<CKRecordValue>> *recordFields

Declaration
From
@property(nonatomic, readonly, copy) CKRecordID *recordID
To
@property(nonatomic, readonly, copy, nullable) CKRecordID *recordID

Declaration
From
@property(nonatomic, readonly, copy) CKRecordZoneID *recordZoneID
To
@property(nonatomic, readonly, copy, nullable) CKRecordZoneID *recordZoneID

CKOperation.h

Added -[CKOperation activityStart]
Declaration
From
@property(nonatomic, strong) CKContainer *container
To
@property(nonatomic, strong, nullable) CKContainer *container

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Modified CKOperation.usesBackgroundSession
Deprecation
From--
ToOS X 10.11

CKQuery.h

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nonnull)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (instancetype)initWithRecordType:(NSString *)recordType predicate:(NSPredicate *)predicate
To
- (instancetype _Nonnull)initWithRecordType:(NSString * _Nonnull)recordType predicate:(NSPredicate * _Nonnull)predicate

Declaration
From
@property(nonatomic, readonly, copy) NSPredicate *predicate
To
@property(nonatomic, readonly, copy, nonnull) NSPredicate *predicate

Declaration
From
@property(nonatomic, readonly, copy) NSString *recordType
To
@property(nonatomic, readonly, copy, nonnull) NSString *recordType

Declaration
From
@property(nonatomic, copy) NSArray *sortDescriptors
To
@property(nonatomic, copy, nullable) NSArray<NSSortDescriptor *> *sortDescriptors

CKQueryOperation.h

Declaration
From
@property(nonatomic, copy) CKQueryCursor *cursor
To
@property(nonatomic, copy, nullable) CKQueryCursor *cursor

Declaration
From
@property(nonatomic, copy) NSArray *desiredKeys
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *desiredKeys

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithCursor:(CKQueryCursor *)cursor
To
- (instancetype _Nonnull)initWithCursor:(CKQueryCursor * _Nonnull)cursor

Declaration
From
- (instancetype)initWithQuery:(CKQuery *)query
To
- (instancetype _Nonnull)initWithQuery:(CKQuery * _Nonnull)query

Declaration
From
@property(nonatomic, copy) CKQuery *query
To
@property(nonatomic, copy, nullable) CKQuery *query

Declaration
From
@property(nonatomic, copy) void (^queryCompletionBlock)(CKQueryCursor *cursor, NSError *operationError)
To
@property(nonatomic, copy, nullable) void (^queryCompletionBlock)(CKQueryCursor * _Nullable cursor, NSError * _Nullable operationError)

Declaration
From
@property(nonatomic, copy) void (^recordFetchedBlock)(CKRecord *record)
To
@property(nonatomic, copy, nullable) void (^recordFetchedBlock)(CKRecord * _Nonnull record)

Declaration
From
@property(nonatomic, copy) CKRecordZoneID *zoneID
To
@property(nonatomic, copy, nullable) CKRecordZoneID *zoneID

CKRecord.h

Declaration
From
- (NSArray *)allKeys
To
- (NSArray<NSString *> * _Nonnull)allKeys

Declaration
From
- (NSArray *)allTokens
To
- (NSArray<NSString *> * _Nonnull)allTokens

Declaration
From
- (NSArray *)changedKeys
To
- (NSArray<NSString *> * _Nonnull)changedKeys

Declaration
From
@property(nonatomic, readonly, copy) NSDate *creationDate
To
@property(nonatomic, readonly, copy, nullable) NSDate *creationDate

Declaration
From
@property(nonatomic, readonly, copy) CKRecordID *creatorUserRecordID
To
@property(nonatomic, readonly, copy, nullable) CKRecordID *creatorUserRecordID

Declaration
From
- (void)encodeSystemFieldsWithCoder:(NSCoder *)coder
To
- (void)encodeSystemFieldsWithCoder:(NSCoder * _Nonnull)coder

Declaration
From
- (instancetype)initWithRecordType:(NSString *)recordType
To
- (instancetype _Nonnull)initWithRecordType:(NSString * _Nonnull)recordType

Declaration
From
- (instancetype)initWithRecordType:(NSString *)recordType recordID:(CKRecordID *)recordID
To
- (instancetype _Nonnull)initWithRecordType:(NSString * _Nonnull)recordType recordID:(CKRecordID * _Nonnull)recordID

Declaration
From
- (instancetype)initWithRecordType:(NSString *)recordType zoneID:(CKRecordZoneID *)zoneID
To
- (instancetype _Nonnull)initWithRecordType:(NSString * _Nonnull)recordType zoneID:(CKRecordZoneID * _Nonnull)zoneID

Declaration
From
@property(nonatomic, readonly, copy) CKRecordID *lastModifiedUserRecordID
To
@property(nonatomic, readonly, copy, nullable) CKRecordID *lastModifiedUserRecordID

Declaration
From
@property(nonatomic, readonly, copy) NSDate *modificationDate
To
@property(nonatomic, readonly, copy, nullable) NSDate *modificationDate

Declaration
From
- (id)objectForKey:(NSString *)key
To
- (__kindof id<CKRecordValue> _Nullable)objectForKey:(NSString * _Nonnull)key

Declaration
From
- (id)objectForKeyedSubscript:(NSString *)key
To
- (__kindof id<CKRecordValue> _Nullable)objectForKeyedSubscript:(NSString * _Nonnull)key

Declaration
From
@property(nonatomic, readonly, copy) NSString *recordChangeTag
To
@property(nonatomic, readonly, copy, nullable) NSString *recordChangeTag

Declaration
From
@property(nonatomic, readonly, copy) CKRecordID *recordID
To
@property(nonatomic, readonly, copy, nonnull) CKRecordID *recordID

Declaration
From
@property(nonatomic, readonly, copy) NSString *recordType
To
@property(nonatomic, readonly, copy, nonnull) NSString *recordType

Declaration
From
- (void)setObject:(id<CKRecordValue>)object forKey:(NSString *)key
To
- (void)setObject:(__kindof id<CKRecordValue> _Nullable)object forKey:(NSString * _Nonnull)key

Declaration
From
- (void)setObject:(id<CKRecordValue>)object forKeyedSubscript:(NSString *)key
To
- (void)setObject:(__kindof id<CKRecordValue> _Nullable)object forKeyedSubscript:(NSString * _Nonnull)key

CKRecordID.h

Declaration
From
- (instancetype)initWithRecordName:(NSString *)recordName
To
- (instancetype _Nonnull)initWithRecordName:(NSString * _Nonnull)recordName

Declaration
From
- (instancetype)initWithRecordName:(NSString *)recordName zoneID:(CKRecordZoneID *)zoneID
To
- (instancetype _Nonnull)initWithRecordName:(NSString * _Nonnull)recordName zoneID:(CKRecordZoneID * _Nonnull)zoneID

Declaration
From
@property(nonatomic, readonly, strong) NSString *recordName
To
@property(nonatomic, readonly, strong, nonnull) NSString *recordName

Declaration
From
@property(nonatomic, readonly, strong) CKRecordZoneID *zoneID
To
@property(nonatomic, readonly, strong, nonnull) CKRecordZoneID *zoneID

CKRecordZone.h

Declaration
From
+ (CKRecordZone *)defaultRecordZone
To
+ (CKRecordZone * _Nonnull)defaultRecordZone

Declaration
From
- (instancetype)initWithZoneID:(CKRecordZoneID *)zoneID
To
- (instancetype _Nonnull)initWithZoneID:(CKRecordZoneID * _Nonnull)zoneID

Declaration
From
- (instancetype)initWithZoneName:(NSString *)zoneName
To
- (instancetype _Nonnull)initWithZoneName:(NSString * _Nonnull)zoneName

Declaration
From
@property(nonatomic, readonly, strong) CKRecordZoneID *zoneID
To
@property(nonatomic, readonly, strong, nonnull) CKRecordZoneID *zoneID

CKRecordZoneID.h

Declaration
From
- (instancetype)initWithZoneName:(NSString *)zoneName ownerName:(NSString *)ownerName
To
- (instancetype _Nonnull)initWithZoneName:(NSString * _Nonnull)zoneName ownerName:(NSString * _Nonnull)ownerName

Declaration
From
@property(nonatomic, readonly, strong) NSString *ownerName
To
@property(nonatomic, readonly, strong, nonnull) NSString *ownerName

Declaration
From
@property(nonatomic, readonly, strong) NSString *zoneName
To
@property(nonatomic, readonly, strong, nonnull) NSString *zoneName

CKReference.h

Declaration
From
- (instancetype)initWithRecord:(CKRecord *)record action:(CKReferenceAction)action
To
- (instancetype _Nonnull)initWithRecord:(CKRecord * _Nonnull)record action:(CKReferenceAction)action

Declaration
From
- (instancetype)initWithRecordID:(CKRecordID *)recordID action:(CKReferenceAction)action
To
- (instancetype _Nonnull)initWithRecordID:(CKRecordID * _Nonnull)recordID action:(CKReferenceAction)action

Declaration
From
@property(nonatomic, readonly, copy) CKRecordID *recordID
To
@property(nonatomic, readonly, copy, nonnull) CKRecordID *recordID

CKSubscription.h

Declaration
From
@property(nonatomic, copy) NSString *alertActionLocalizationKey
To
@property(nonatomic, copy, nullable) NSString *alertActionLocalizationKey

Declaration
From
@property(nonatomic, copy) NSString *alertBody
To
@property(nonatomic, copy, nullable) NSString *alertBody

Declaration
From
@property(nonatomic, copy) NSString *alertLaunchImage
To
@property(nonatomic, copy, nullable) NSString *alertLaunchImage

Declaration
From
@property(nonatomic, copy) NSArray *alertLocalizationArgs
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *alertLocalizationArgs

Declaration
From
@property(nonatomic, copy) NSString *alertLocalizationKey
To
@property(nonatomic, copy, nullable) NSString *alertLocalizationKey

Declaration
From
@property(nonatomic, copy) NSArray *desiredKeys
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *desiredKeys

Declaration
From
@property(nonatomic, copy) NSString *soundName
To
@property(nonatomic, copy, nullable) NSString *soundName

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nonnull)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (instancetype)initWithRecordType:(NSString *)recordType predicate:(NSPredicate *)predicate options:(CKSubscriptionOptions)subscriptionOptions
To
- (instancetype _Nonnull)initWithRecordType:(NSString * _Nonnull)recordType predicate:(NSPredicate * _Nonnull)predicate options:(CKSubscriptionOptions)subscriptionOptions

Declaration
From
- (instancetype)initWithRecordType:(NSString *)recordType predicate:(NSPredicate *)predicate subscriptionID:(NSString *)subscriptionID options:(CKSubscriptionOptions)subscriptionOptions
To
- (instancetype _Nonnull)initWithRecordType:(NSString * _Nonnull)recordType predicate:(NSPredicate * _Nonnull)predicate subscriptionID:(NSString * _Nonnull)subscriptionID options:(CKSubscriptionOptions)subscriptionOptions

Declaration
From
- (instancetype)initWithZoneID:(CKRecordZoneID *)zoneID options:(CKSubscriptionOptions)subscriptionOptions
To
- (instancetype _Nonnull)initWithZoneID:(CKRecordZoneID * _Nonnull)zoneID options:(CKSubscriptionOptions)subscriptionOptions

Declaration
From
- (instancetype)initWithZoneID:(CKRecordZoneID *)zoneID subscriptionID:(NSString *)subscriptionID options:(CKSubscriptionOptions)subscriptionOptions
To
- (instancetype _Nonnull)initWithZoneID:(CKRecordZoneID * _Nonnull)zoneID subscriptionID:(NSString * _Nonnull)subscriptionID options:(CKSubscriptionOptions)subscriptionOptions

Declaration
From
@property(nonatomic, copy) CKNotificationInfo *notificationInfo
To
@property(nonatomic, copy, nullable) CKNotificationInfo *notificationInfo

Declaration
From
@property(nonatomic, readonly, copy) NSPredicate *predicate
To
@property(nonatomic, readonly, copy, nullable) NSPredicate *predicate

Declaration
From
@property(nonatomic, readonly, copy) NSString *recordType
To
@property(nonatomic, readonly, copy, nullable) NSString *recordType

Declaration
From
@property(nonatomic, readonly, copy) NSString *subscriptionID
To
@property(nonatomic, readonly, copy, nonnull) NSString *subscriptionID

Declaration
From
@property(nonatomic, copy) CKRecordZoneID *zoneID
To
@property(nonatomic, copy, nullable) CKRecordZoneID *zoneID