• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drag and drop between 2 table views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Drag and drop between 2 table views
      • From: mmalc Crawford <email@hidden>
References: 
 >Drag and drop between 2 table views (From: Paul Johnson <email@hidden>)
 >Re: Drag and drop between 2 table views (From: "Sean McBride" <email@hidden>)
 >Re: Drag and drop between 2 table views (From: Paul Johnson <email@hidden>)
 >Re: Drag and drop between 2 table views (From: Kyle Sluder <email@hidden>)
 >Re: Drag and drop between 2 table views (From: Paul Johnson <email@hidden>)

  • Prev by Date: Re: Why would [NSArrayController setSelectionIndex] fail?
  • Next by Date: Re: Drag and drop between 2 table views
  • Previous by thread: Re: Drag and drop between 2 table views
  • Next by thread: Re: Drag and drop between 2 table views
  • Index(es):
    • Date
    • Thread