On Apr 25, 2015, at 8:37 PM, Graham Cox <graham....@bigpond.com> wrote:

> I’d like a user to be able to directly drag and drop an image from Photos 
> into my app. Currently the drag is rejected, though I’m registering for all 
> of the usual types - NSURLs, Filenames, Images, etc. How can I find out what 
> drag flavours I need to support to enable this? The Finder accepts drags from 
> Photos.

You can use the ClipboardViewer sample app to look at the drag pasteboard after 
a drag attempt.
<https://developer.apple.com/library/mac/samplecode/ClipboardViewer/Introduction/Intro.html>

You could also register to receive public.data and public.content, to accept 
almost anything and then log the actual types in a drag from Photos.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to