TIL: In Core Data’s Relationship entry for a sub-object, change Delete Rule from the default Nullify to Cascade. Otherwise you’ll have orphaned (undeleted) sub-objects.