• 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
Re: NSManagedObjectContext<NSCoding> ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSManagedObjectContext<NSCoding> ?


  • Subject: Re: NSManagedObjectContext<NSCoding> ?
  • From: AurĂ©lien HugelĂ© <email@hidden>
  • Date: Mon, 15 May 2006 09:21:44 +0200

NSManagedObject are not <NSCoding> compliant. I can add than "automatic" (i mean implemented by Apple in NSManagedObject machinery) archiving of NSManagedObject has no sense since it would probably result in the whole object graph archiving....
Of course you can make your specific NSManagedObject subclass <NSCoding> compliant... but keep in mind that archiving properties is very easy, archiving/dearchiving relationships is not !


may i ask why you would need archiving, since CoreData is already a object persistence oriented framework ?

Aurelien

On 12 mai 06, at 16:40, Jim Correia wrote:

Is there any documentation which discusses the details of archiving/ unarchiving managed object contexts (with a possible example of where this would be useful)?

What properties of the managed object context survive the round trip through the archiving/unarchiving process? (It appears that the basic properties are round trip, but the unarchived instances is a clean slate with no PSC.)

Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gumitech.com


This email sent to 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
  • Follow-Ups:
    • Re: NSManagedObjectContext<NSCoding> ?
      • From: Matthew Firlik <email@hidden>
References: 
 >NSManagedObjectContext<NSCoding> ? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Which format for image file resources in Cocoa application?
  • Next by Date: Re: Using Fix and Continue with Object Alloc
  • Previous by thread: NSManagedObjectContext<NSCoding> ?
  • Next by thread: Re: NSManagedObjectContext<NSCoding> ?
  • Index(es):
    • Date
    • Thread