On Mar 17, 2009, at 9:41 AM, Jushin wrote:
It didn't work. I only could make it work after I changed this to: [tableView registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType,nil]]; So, how can I filter image files for drag and drop?
You have to do that manually in your validate method, since filename pasteboards don't contain file data for obvious reasons.
Nick Zitzmann <http://www.chronosnet.com/> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com