Describe the relationship in more detail. Specifically, what does
its inverse look like? If it's missing an inverse, or has a to-one
inverse instead of a to-many inverse, that could easily explain what
you're seeing;
It doesn't have any inverse relationship. One entity(A) has a to-many
relationship
to another entity(B), but B doesn't have any relationship to A.
I added B to A with the method and A had Bs before I closed the app.
Then when I restart the app, some As have lost all Bs, while other As
who
haven't lost Bs have all Bs. All or nothing.
But if having no inverse relationship is a problem, I suppose the
behaviors of
NSXMLStoreType and NSBinaryStoreType are the same.
In my case, only NSSQLiteStoreType has this problem.
For Core Data, that means the accessor methods for to-many
relationships need to follow this naming pattern -- which is the
standard naming pattern for set KVC:
Thank you, I corrected the method names.
-Chataka
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com