Re: Drag and drop between 2 table views

2010-10-28 Thread Paul Johnson
Thanks to everyone who helped me out on this problem. ___ 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/Unsubsc

Re: Drag and drop between 2 table views

2010-10-28 Thread mmalc Crawford
Paul Johnson wrote: > I could build an array with the strings I want to drag and drop and that > appears to be the proper way to implement this. So far I've found that info > on Core Data is rather sparse, especially as it pertains to sample code. The Core Data Programming Guide contains a secti

Re: Drag and drop between 2 table views

2010-10-28 Thread Paul Johnson
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,

Re: Drag and drop between 2 table views

2010-10-28 Thread Paul Johnson
Although it may be "orthogonal" and I may not have learned everything about drag and drop, I believe my code does follow the code samples suppled my Apple. I've also found other code samples elsewhere that agree with Apple's and with mine. I do have a case where there is a relationship between drag

Re: Drag and drop between 2 table views

2010-10-28 Thread Kyle Sluder
On Thu, Oct 28, 2010 at 3:43 PM, Paul Johnson wrote: > Sean, the sample code you refer to doesn't use Core Data. My issue is with > the use of Core Data along with drag and drop. No, your issue is that you haven't learned how to implement drag and drop. The fact that you're using Core Data is ort

Re: Drag and drop between 2 table views

2010-10-28 Thread Paul Johnson
Sean, the sample code you refer to doesn't use Core Data. My issue is with the use of Core Data along with drag and drop. On Thu, Oct 28, 2010 at 4:34 PM, Sean McBride wrote: > On Mon, 25 Oct 2010 12:55:32 -0500, Paul Johnson said: > > >I have two table views and I want to drag and drop from one

Re: Drag and drop between 2 table views

2010-10-28 Thread Sean McBride
On Mon, 25 Oct 2010 12:55:32 -0500, Paul Johnson said: >I have two table views and I want to drag and drop from one to the other. > > >I'm using Core Data and Bindings, and the > > >I'm able to select items in the source table and I'm copying an index set >listing indexes of the selected items to

Drag and drop between 2 table views

2010-10-25 Thread Paul Johnson
I have two table views and I want to drag and drop from one to the other. I'm using Core Data and Bindings, and the I'm able to select items in the source table and I'm copying an index set listing indexes of the selected items to the pasteboard. I haven't been able to drop the selected items