Determining an inter-application drag source
Determining an inter-application drag source
- Subject: Determining an inter-application drag source
- From: "Jeffrey J. Early" <email@hidden>
- Date: Thu, 25 Mar 2010 10:55:45 -0400
Is there any way to determine the source of a drag operation outside your own application? For example, if I'm set to receive NSFilenamesPboardType, then I'd like to distinguish between the Finder and Aperture as drag sources.
I had thought I'd seen a solution to this at one point, but can't seem to find anything. The draggingSource in <NSDraggingInfo> is set to nil when the source is an external application. The pasteboard doesn't seem to guarantee any that information, although some sources will occasionally have unique pasteboard types that might distinguish them, but only as an exception.
Any guidance is appreciated -- thanks,
Jeffrey
_______________________________________________
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