- Add Objective-C support for syncing changes using Sync operations
Options
@objc public enum CompatibleOperationOptions: Int {
case insert = 0
case update = 1
case delete = 2
case insertUpdate = 3
case insertDelete = 4
case updateDelete = 5
case all = 6
}
APIs
class func compatibleChanges(_ changes: [[String: Any]], inEntityNamed entityName: String, dataStack: DataStack, operations: CompatibleOperationOptions, completion: ((_ error: NSError?) -> Void)?)
class func compatibleChanges(_ changes: [[String: Any]], inEntityNamed entityName: String, predicate: NSPredicate?, dataStack: DataStack, operations: CompatibleOperationOptions, completion: ((_ error: NSError?) -> Void)?)