On Dec 19, 2008, at 5:39 PM, JongAm Park wrote:
So, can anyone tell me how the Carbon's pasteboard manager will change, and why Cocoa's pasteboard manager doesn't reveal some methods which handles flavors easily? Probably flavors are being deprecated also? ( Although there should be some similar mechanism.. )
The preferred, mechanism independent way, to describe types on Mac OS X is to describe them via a Uniform Type Identifier (UTI).
Most places in AppKit should transparently support UTIs on 10.5 and later. If you need to interact with the pasteboard on earlier releases, you'll have to drop down to the procedural API in Pasteboard.h.
If you have a four char code that you need to represent as a UTI, you can do the conversion using the functions in UTType.h.
Jim _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com