core-data icon indicating copy to clipboard operation
core-data copied to clipboard

Relevance of `fault` in `DelayedDeletable` / `markForLocalDeletion()`

Open timarnold opened this issue 9 years ago • 1 comments

I've got a question about DelayedDeletable and two-step deletion from the book.

In markForLocalDeletion(), the first line of the method is:

guard fault || markedForDeletionDate == nil else { return }

I'm not sure why the value of fault matters here, and I can't find any explanations in the book.

timarnold avatar May 25 '16 13:05 timarnold

Any thoughts on this question?

timarnold avatar Jun 30 '16 20:06 timarnold