• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
importing data using core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: importing data using core data
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Binding to to-one relationship
  • Next by Date: Dimmed NSTextField?
  • Previous by thread: Re: Radix Cocoa Class: Int Binary Value to Char String Using Primitive Operators
  • Next by thread: Re: importing data using core data
  • Index(es):
    • Date
    • Thread