CoreDataAdapterConflictResolutionDelegate
An implementation of this protocol can be provided for custom conflict resolution.
@objc public protocol CoreDataAdapterConflictResolutionDelegate
#
Requirements#
coreDataAdapter(_:​gotChanges:​for:​)Asks the delegate to resolve conflicts for a managed object. The delegate is expected to examine the change dictionary and optionally apply any of those changes to the managed object.
func coreDataAdapter(_ adapter: CoreDataAdapter, gotChanges changeDictionary: [String: Any], for object: NSManagedObject)
#
Parameters- adapter: The
CoreDataAdapter
that is providing the changes. - changeDictionary: Dictionary containing keys and values with changes for the managed object. Values could be [NSNull null] to represent a nil value.
- object: The
NSManagedObject
that has changed on iCloud.