Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need clarification on Cocoa error code 1570

With help from the great posts here, I understand the error. But I need some clarification please.

Say my managed object context (schema) has 3 tables (entities), and say each entity had 3 attributes of which one attribute for each entry is NOT optional.

So now for the first time, my app creates a managed object for the first entity, filling its mandatory attribute; app has not created managed objects for the second and third entities yet - didn't have to yet. When I try to save the context at this point, I get error code 1570. Is it because I have not filled out values for the second and 3rd entities?

like image 902
Chris F Avatar asked Dec 15 '22 13:12

Chris F


1 Answers

I am not sure if this helps you.

But The cocoa error 1570 means that mandatory fields are not filled in. So please make sure your mandatory fields are not nil.

like image 188
βhargavḯ Avatar answered Jan 02 '23 21:01

βhargavḯ