I was wondering about this problem lately. I am concerned about long-term problems with the given implementation of Core Data below.
Lets say we have a Task NSManagedObject
that has one-to-one relationship to Album object with Nullify delete rule both ways. Then Album has one-to-many relationship to Photo object with same delete rule.
The question is theoretical. What happens if Task object gets deleted, but developer doesn't delete Album and Photo objects related to Task manually? Is there a possibility of the data corruption this way? Or will Core Data will just grow in size and not complain?
Thank you for your help beforehand.