• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get multiple NSURLs from Finder drop.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to get multiple NSURLs from Finder drop. (From: Todd Freese <email@hidden>)
 >Re: How to get multiple NSURLs from Finder drop. (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: rectArrayForCharacterRange and lineSpacing (was: text highlighting with CALayer and NSTextView)
  • Next by Date: Customising cells in IKImageBrowserView
  • Previous by thread: Re: How to get multiple NSURLs from Finder drop.
  • Next by thread: System Menu Bar
  • Index(es):
    • Date
    • Thread