Contents

updateCacheNode(_:from:)

Updates the given cache node using the values in a given managed object.

Declaration

func updateCacheNode(_ node: NSAtomicStoreCacheNode, from managedObject: NSManagedObject)

Parameters

  • node:

    The cache node to update.

  • managedObject:

    The managed object with which to update node.

Discussion

This method is invoked by the framework after a save operation on a managed object context, once for each updated NSManagedObject instance.

You override this method in a subclass to take the information from managedObject and update node.

Special Considerations

You must override this method.

See Also

Updating Cache Nodes