COREDATA - setSubEntities doesn't work
COREDATA - setSubEntities doesn't work
- Subject: COREDATA - setSubEntities doesn't work
- From: email@hidden
- Date: Sun, 5 Feb 2006 22:35:30 -0800
Hi list,
I'm having trouble with linking two models at runtime, so I have
distilled the problem into a model built at runtime, following
apple's docs and examples.
Setting the subEntity to another works as far as its name is
concerned, but no attributes are inherited...... very.... surprising.
I hope I am doing something stupid, but it looks like maybe not...
Here's a very simple example of an object graph constructed at runtime.
http://homepage.mac.com/son_gohan/
SimpleLinkedModelThatShouldWorkButDoesnt.zip
If your interested, please look at the app delegate and its -
managedObjectModel method, this is from the coredata application
template from Xcode.
I hope I can find a solution without going to DTS...
Thanks in advance for any info.
Andre
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden