Core Data: Working with multiple models
Core Data: Working with multiple models
- Subject: Core Data: Working with multiple models
- From: Martin Köhler <email@hidden>
- Date: Sun, 5 Nov 2006 10:13:52 +0100
Hi,
In XCode, let's say I have
- a framework project "Framework"
- with a model "FrameworkModel"
- comprising an entity "FrameworkEntity"
- an application project "Application"
- with a model "ApplicationModel"
- comprising an entity "DocumentPartEntity"
So now I want that "DocumentPartEntity" aggregates "FrameworkEntity".
Let's assume "Framework" is not aware of "Application", but
"Application" is aware of "Framework".
What's the "best practice" to realize this "linkage" between two models?
- programmatically merge both models and add a relationship property
to "DocumentPartEntity", which aggregates "FrameworkEntity"?
- or is there a simpler way? Perhaps even a trick to "link" them
together in XCode?
Thanks,
-- Martin Köhler
_______________________________________________
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