On Mar 11, 2015, at 6:18 AM, Charles Jenkins <cejw...@gmail.com> wrote:

> Thank you, Ken.

You're welcome.

> Would it work to use the writing options to specify that all the types are 
> only promised?

I think so.  The docs for -writableTypesForPasteboard: say that, _by default_, 
the data for the first type is put on the pasteboard immediately and the rest 
are promised.  However, it then states that you can change that default 
behavior by overriding -writingOptionsForType:pasteboard:.


> CLIPPING_UTI must be the first type I specify so my app will receive the most 
> faithful copy of the data;

That's not correct.  The pasteboard reader (the app doing a paste operation) 
determines its preference for which data type is most useful to it.  Your app 
could prefer the CLIPPING_UTI representation even if it's not the first type in 
the list.

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