RealmSwiftAdapterDelegate
public protocol RealmSwiftAdapterDelegate: class
#
Inheritanceclass
#
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
QSRealmSwiftAdapter
that 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
RLMObject
that has changed on iCloud.