On Sep 3, 2012, at 1:32 PM, Todd Freese <applecocoal...@filmworkers.com> wrote:

> I'm trying to get my App Sandboxed. I need to be able to accept a multi-file 
> finder drop to import files. However, how did I get multiple NSURLs from the 
> finder? There only seems to be two finder pasteboard types: 
> NSFilenamesPboardType & NSURLPboardType. 
> 
> NSFilenamesPboardType won't work because it is passing strings. 
> NSURLPboardType only accepts one a single file.
> 
> What am I missing here?

Use the modern NSPasteboardItem API instead. You can access multiple items, 
each one being an NSURL.

--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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to