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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/ivan%40myrvold.org

This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to