Re: really elementary to-many inverse relationship question
Re: really elementary to-many inverse relationship question
- Subject: Re: really elementary to-many inverse relationship question
- From: Scott Stevenson <email@hidden>
- Date: Sat, 2 Dec 2006 17:21:39 -0800
On Dec 2, 2006, at 4:19 PM, Matt Neuburg wrote:
So I set the background's one stack:
[background setValue: stack forKey: @"stack"];
That works, as I can see through logging. But I also see that the
stack has
no backgrounds.
So the inverse relationship is not being updated automatically. My
question
is: why not? It says right in the docs that it should be:
It should work automatically. I'd just recommend the obvious: double-
check all of the settings in the model. If you're using custom
classes, try temporarily switching back to NSManagedObject.
You could also post a link to a simplified project which highlights
the issue.
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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