views:

123

answers:

1

According to NSPasteboard.h (line 294 in the standard Snow Leopard copy of the Xcode SDK) it states:

/* Use of pboard types should be replaced with use of UTIs.
Pboard types will be deprecated in a future release. */

I've tried finding samples of using UTIs as a replacement for pboard types but I can't find anything anywhere that demonstrates how to do this.

Does anyone have any sample code showing how to replace pboard types with UTIs?

Thanks

+4  A: 

You just use UTIs where previously you would have used pboard types.

For more on UTIs, see Uniform Type Identifiers Overview.

Peter Hosey