Re: Core Data relationship disappears
Re: Core Data relationship disappears
- Subject: Re: Core Data relationship disappears
- From: Ivan C Myrvold <email@hidden>
- Date: Sun, 1 Feb 2009 15:54:15 +0100
I just found out why, and it was as simple as I didn't check the "To-
Many Relationship" check box in my xcdatamodel for the reverse
relationship from Transponder to ServiceItem.
After doing that, all the transponder data came into my table view.
Ivan
Den 1. feb.. 2009 kl. 01:43 skrev Jerry Krinock:
On 2009 Jan 31, at 8:33, Ivan C Myrvold wrote:
But later on, the transponder relationship have been set to nil,
and I don't know why. There is probably something missing in my
core data code.
Or, something that should not be in your code that is in your code
Do anyone know what I am missing?
Certainly I cannot tell from the information you provided. Possibly
you did not save the managed object context? Another possibility is
that it got cascade-deleted:
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdRelationships.html#/
/apple_ref/doc/uid/TP40001857-SW1
Delete Rule is shown in the .xcdatamodel when inspecting a
relationship.
_______________________________________________
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden