Re: PNG in the pasteboard
Re: PNG in the pasteboard
- Subject: Re: PNG in the pasteboard
- From: Jim Correia <email@hidden>
- Date: Wed, 18 Apr 2007 12:31:12 -0400
On Apr 18, 2007, at 11:39 AM, Pierre Chatelier wrote:
use @"Apple PNG pasteboard type" for PNG.
Thanks for the tip.
While trying it, I have discovered that NSPNGPboardType is already
defined, but not publicly, in AppKit, since using
extern NSString* NSPNGPboardType; does link without defining
NSPNGPboardType anywhere.
I am afraid this is not very reliable, anyway.
Is there a good reason not to make NSPNGPboardType publicly
available ?
The UTI for public.png exports an pasteboard name. You can grab it
programatically at runtime.
Jim
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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