On 2010 Mar 23, at 12:13, Joanna Carter wrote:

> So, I am now left thinking the only way around this is to insert an editing 
> object in a secondary MOC, then, upon saving, insert a second object in the 
> main MOC, copy the properties over from the editing object to the object in 
> the main MOC, before rolling back the inserted object in the secondary MOC.
> 
> Wow!!! that is a whole load of hassle.

I believe this is the standard approach, and with dictionaryWithValuesForKeys:, 
it's not too bad.  This thread has some advice from Mr. Trumbull on the topic --

http://www.cocoabuilder.com/archive/cocoa/225972-copying-managed-objects-from-app-to-doc-mocontext.html

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to