Deleting won't nullify until save : is it true?

前端 未结 1 1799
闹比i
闹比i 2021-01-24 15:37

My situation : I have complex (24 entities, many relationships and many ordered to-many relationships) model in Core Data.

Now let\'s say, I have an entity

相关标签:
1条回答
  • 2021-01-24 16:20

    For a reason, the graph of the entities was not coherent (some bug of CoreData I guess, the relations and their inverse are not properly maintained). So, it refuses to delete the object. If I save, it first makes the graph coherent and then it is possible to remove the object.

    0 讨论(0)
提交回复
热议问题