importing data using core data
importing data using core data
- Subject: importing data using core data
- From: Jeremyah Payne <email@hidden>
- Date: Fri, 6 Jan 2006 15:26:28 -0600
I am working on a document based program regarding the solar system.
In the document a user adds satellites and modifies them. Because the
solar system itself never changes I saved template file after making
just the planets.
At the initialization of myDocument I am loading the template file with
[myPSC addPersistentStoreWithType:( etc.)];
The problem I am running into is that the template file's data is not
loaded, it is sort of pointed to. So I can read and edit the data but
it affects the template file. This is a problem for me because When I
create a Satellite that orbits a planet, obviously it is hard to
express a relationship to an object that is in another file. Is
there some method that I am overlooking where I could import the data
in template preserving its relationships into a new document.?
_______________________________________________
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