RealmSwiftAdapterDelegate
public protocol RealmSwiftAdapterDelegate: class Inheritance#
class
Requirements#
realmSwiftAdapter(_:​gotChanges:​object:​)#
func realmSwiftAdapter(_ adapter:RealmSwiftAdapter, gotChanges changes: [String: Any], object: Object)- Asks the delegate to resolve conflicts for a managed object when using a custom mergePolicy.
- The delegate is expected to examine the change dictionary and optionally apply any of those changes to the managed object.
- @param adapter    The QSRealmSwiftAdapterthat is providing the changes.
- @param changeDictionary Dictionary containing keys and values with changes for the managed object. Values can be [NSNull null] to represent a nil value.
- @param object           The RLMObjectthat has changed on iCloud.