YDBCKChangeSet

@interface YDBCKChangeSet : NSObject

A change-set represents the set of changes that will be given to a CKModifyRecordsOperation.

A change-set is automatically generated by a readWriteTransaction that makes one or more changes that result in modifications that need to be pushed to the CloudKit server.

Changes are grouped by databaseIdentifier. So if a single readWriteTransaction makes several modifications that span multiple databaseIdentifiers, then the transaction will result in multiple generated change-sets.

You are free to inspect the change-set, however, it is not possible to modify it.

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *databaseIdentifier

    Swift

    var databaseIdentifier: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *uuid

    Swift

    var uuid: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isInFlight

    Swift

    var isInFlight: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<CKRecordID *> *recordIDsToDelete

    Swift

    var recordIDsToDelete: [CKRecordID] { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<CKRecord *> *recordsToSave

    Swift

    var recordsToSave: [CKRecord] { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<CKRecordID *> *recordIDsToSave

    Swift

    var recordIDsToSave: [CKRecordID] { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger recordIDsToDeleteCount

    Swift

    var recordIDsToDeleteCount: UInt { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger recordsToSaveCount

    Swift

    var recordsToSaveCount: UInt { get }