Drag and Drop from Finder to Source List
Drag and Drop from Finder to Source List
- Subject: Drag and Drop from Finder to Source List
- From: Jonathan Dann <email@hidden>
- Date: Thu, 10 Jan 2008 17:24:00 +0000
Hi all,
I've already got NSTreeController working with NSOutlibeView and
binding in a non-Core Data app but now I need some advice on how to
one allow certain file type drops.
I have a method that handles drops from the pasteboard for
NSFilenamesPboardType
What would be the best way to verify that the file the user is
dragging is a text file, of any encoding, that is a little more robust
than just checking the file extension. As later I will need to support
dragging of image types too, and possibly PDFs
I'm not sure where to look in the documentation so sorry if this is a
simple question, im not very experienced yet!
Thanks!
Jonathan
_______________________________________________
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