Drag and drop custom classes
Drag and drop custom classes
- Subject: Drag and drop custom classes
- From: David H <email@hidden>
- Date: Thu, 11 Jul 2002 20:07:21 +1000
I'm trying to implement the ability to drag and drop objects
instantiated from a class I created, but having trouble doing so. The
program is a window with two tables, each showing the contents of its
own NSMutableArray that contains objects of the custom class. I want to
be able to drag and drop between the tables, and the objects will be
moved between the two arrays.
I can do this for NSStrings, but having trouble working out how to do it
for my custom class. I had a look at set
Data:forType: but it seems that
only deals with NSData objects. Can anyone provide any clues? Thanks.
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.