Re: Drag and drop between 2 table views
Re: Drag and drop between 2 table views
- Subject: Re: Drag and drop between 2 table views
- From: Paul Johnson <email@hidden>
- Date: Thu, 28 Oct 2010 18:51:29 -0500
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@hidden)
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:
This email sent to email@hidden