Contents

didTurnIntoFault()

Provides an opportunity to add code into the life cycle of the managed object after converting it to a fault.

Declaration

func didTurnIntoFault()

Discussion

You use this method to clear out custom data caches—transient values declared as entity properties are typically already cleared out by the time this method is invoked (see, for example, refresh(_:mergeChanges:)).

See Also

Managing Change Events