• 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
Core Data: Copying and pasting chained entities (Renaud C?roce)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data: Copying and pasting chained entities (Renaud C?roce)


  • Subject: Core Data: Copying and pasting chained entities (Renaud C?roce)
  • From: Daniel Child <email@hidden>
  • Date: Wed, 01 Oct 2008 10:44:51 -0400

I'm not sure if I understand your question, but if FillStyle and FillColor are entities, why not simply create corresponding managed objects and set their values, making sure that all of the relations (between color and style, and between style and figure) are established. They will then be automatically stored in the persistent store like any other managed object. As far as I can tell, there is no need to use archiving unless you want to prepare in a special format for another application.

On Sep 30, 2008, at 11:23 PM, email@hidden wrote:

insertNewObjectForEntityForName:inManagedObjectContext:]), the FillStyle
and the FillColor are filled with their default values, like on an ordinary
creation. My problem is therefore to archive the FillStyle and the
FillColor along with the Figure, and be able to recreate the graph of
objects.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Core Data: Copying and pasting chained entities (Renaud C?roce)
      • From: Renaud CĂ©roce <email@hidden>
  • Prev by Date: program memory consumption?
  • Next by Date: Re: program memory consumption?
  • Previous by thread: Re: program memory consumption?
  • Next by thread: Re: Core Data: Copying and pasting chained entities (Renaud C?roce)
  • Index(es):
    • Date
    • Thread