Re: How to get multiple NSURLs from Finder drop.
Re: How to get multiple NSURLs from Finder drop.
- Subject: Re: How to get multiple NSURLs from Finder drop.
- From: Todd Freese <email@hidden>
- Date: Mon, 03 Sep 2012 19:48:08 -0500
Thanks, didn't see the new API.
Todd
On Sep 3, 2012, at 4:12 PM, Kyle Sluder <email@hidden> wrote:
>
> On Sep 3, 2012, at 1:32 PM, Todd Freese <email@hidden> 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
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
_______________________________________________
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