Re: Views-based table drag and drop

2012-05-18 Thread Raleigh Ledet
You can put whatever data you want/need in the pasteboard item. Even multiple independent things. A handy trick is often to add a private type per item. This custom type can be as simple as the index of the item in the source list. > So obviously I need to use tableView:pasteboardWriterForRow:.

Views-based table drag and drop

2012-04-12 Thread Scott Lahteine
Hi, My app has a views-based table with an NSTableCellView subclass. The represented object implements the NSPasteboardReading, NSPasteboardWriting, and NSCoding protocols. All the hooks are in place for drag and drop, but I need some conceptual help to figure how to implement it properly. I wo