Re: NSTableView Drag & Drop as a string
Re: NSTableView Drag & Drop as a string
- Subject: Re: NSTableView Drag & Drop as a string
- From: Todd Heberlein <email@hidden>
- Date: Fri, 25 Sep 2009 08:50:49 -0700
Solved it!
... But now I want to create a string representation of the object,
add it to the pasteboard as well, and then when the object is
dragged to something like an email, the string representation of the
object is written in.
The problem was that I was trying to do a cross-application drag and
drop. The solution was to add to my -awakeFromNib method the line:
[myTableView setDraggingSourceOperationMask:NSDragOperationEvery
forLocal:NO];
This allows drag-and-drop across applications.
Todd
_______________________________________________
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