I believe I've found the answer to my drag and drop problem:

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CoreData/Articles/cdUsingMOs.html

Drag and Drop is just a glorified copy/paste and on that web page I found:
"If you just want to copy a managed object’s attributes, then in many cases
the best strategy may be in the copy operation to create a dictionary
(property list) representation of a managed object, then in the paste
operation to create a new managed object and populate it using the
dictionary."

Also:
"It is difficult to solve the problem of copying, or supporting copy and
paste, in a generic way for managed objects. You need to determine on a
case-by-case basis what properties of a managed object you actually want to
copy."
_______________________________________________

Cocoa-dev mailing list ([email protected])

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