• 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
NSURLPboardType: Is this normal?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLPboardType: Is this normal?


  • Subject: NSURLPboardType: Is this normal?
  • From: Thomas Harrington <email@hidden>
  • Date: Tue, 10 Dec 2002 23:27:29 -0700

I have an NSView subclass that accepts files dragged from the Finder.

If I want NSFilenamesPboardType, I can get an array of all files dragged in like this:

NSPasteboard *pb = [sender draggingPasteboard];
NSArray *files = [pb propertyListForType:NSFilenamesPboardType];

But if I replace the type with NSURLPboardType, I only get a single file URL.

Is this the way it's supposed to work? Why would I get only one file out of many when I'm asking for NSURLPboardType?

--
Tom Harrington
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSURLPboardType: Is this normal?
      • From: Jake Repp <email@hidden>
  • Prev by Date: Re: [repost] Using NSFontPanel in a prefPane ?
  • Next by Date: A window behind everything & how disable events on it...
  • Previous by thread: [ANN] AGRegex
  • Next by thread: Re: NSURLPboardType: Is this normal?
  • Index(es):
    • Date
    • Thread