Skip to main content

RealmAdapterDelegate

@objc public protocol RealmAdapterDelegate 

Requirements#

RealmAdapter(_:​gotChanges:​object:​)#

func RealmAdapter(_ adapter: RealmAdapter, gotChanges changes: [String: Any], object: RLMObject)
  • 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.
  • @param adapter The QSRealmAdapter 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.