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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
