Re: NSManagedObjectContext<NSCoding> ?
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