Core Data not playing fair

I have 2 entities. 1 is a parent of the other with the relationship of one-to-many. The deletion rule is nullify. I create a parent entity. Then I created some child entities. When I delete a child entity everything is great. When I try to add a new child entity core data breaks. Code = 1570 error. I don’t know what to do about this.

Do I have to fetch after I delete?

@dadixon Do you still have this issue?

I figured it out. I was creating a managed object and did nothing with it. That was breaking my workflow

@dadixon Glad you sorted it out. Cheers! :]

This topic was automatically closed after 166 days. New replies are no longer allowed.