On Mon, Aug 9, 2010 at 11:53 PM, Rick Mann <rm...@latencyzero.com> wrote: > From that I can only get an NSPasteboard, as far as I can tell.
10.6 has a new pasteboard API based around NSPasteboardItem and protocols like NSPasteboardReading that natively understands multiple objects and URLs. You might have better luck using that API. Specifically, the Pasteboard Programming Guide has a section on using the new API with file URLs: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/PasteboardGuide106/Articles/pbReading.html#//apple_ref/doc/uid/TP40008123-SW5 > I pretty much followed Apple direction to get to this point. If there's a > more modern pasteboard, they should mention it in the old pasteboard docs. They do in the Pasteboard Programming Guide, but it looks like some of the API reference hasn't been updated to point at the new API. The old API apparently hasn't been officially deprecated yet. *sigh* Also, see the pasteboard video from WWDC09. It's also got an awesome song at the end. :) In the meantime, file bugs on the documentation for methods like -propertyListForType:; maybe they'll be willing to put a note in there about the new API. --Kyle Sluder _______________________________________________ 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