Re: NSTextView Drag and Drop
Re: NSTextView Drag and Drop
- Subject: Re: NSTextView Drag and Drop
- From: Ross Carter <email@hidden>
- Date: Sun, 31 Jan 2010 11:46:41 -0500
On Jan 30, 2010, at 9:25 PM, Jon Buys wrote:
> What is the best way to get access to the file that is dropped on an NSTextView. I don't want to embed the file in the view, but I'd like to copy the file somewhere else and add arbitrary text in its place. I'm thinking I should be looking at NSTextAttachment, but I'm not sure if I'm barking up the wrong tree here.
If you are subclassing the NSTextView, you could look at NSDraggingDestination Protocol.
_______________________________________________
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