Re: [Q] How will the Pasteboard manager be changed?
Re: [Q] How will the Pasteboard manager be changed?
- Subject: Re: [Q] How will the Pasteboard manager be changed?
- From: Jim Correia <email@hidden>
- Date: Fri, 19 Dec 2008 17:57:06 -0500
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 (email@hidden)
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:
This email sent to email@hidden