Renaud,

Could you point me at those articles ? I was not able to find them.

I know I've seen some third party examples, but I don't have references handy. Hopefully, Google can help.

Yes, it is a simple solution, but I guess it can rarely be used. If you Copy an object, modify the object, then Paste, the pasted object will be
like the modified object, not like the original one.

You want very deep copies. Very shallow copies are actually quite common.

I thought about an other solution: do you think we could create an other NSManagedObjectContext and copy the graph to it ? It did not seem like one
can create a NSManagedObjectContext easily, so I did not investigate
further; but do you think it is feasible ?

You could, and it's straight forward. But it doesn't solve the general copy and paste problem since that frequently involves the ability to paste into another app.

- Ben



_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to