NSURLPboardType: Is this normal?
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.