• 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: NSTableView Drag and Drop doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Drag and Drop doesn't work


  • Subject: Re: NSTableView Drag and Drop doesn't work
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 17 Mar 2009 10:03:11 -0600


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 (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: 
 >NSTableView Drag and Drop doesn't work (From: Jushin <email@hidden>)
 >Re: NSTableView Drag and Drop doesn't work (From: Jushin <email@hidden>)

  • Prev by Date: Re: Working with weekdays on NSDate, NSDateComponents, NSCalendar and NSValueTransformer
  • Next by Date: Re: NSTableView Drag and Drop doesn't work
  • Previous by thread: Re: NSTableView Drag and Drop doesn't work
  • Next by thread: Re: NSTableView Drag and Drop doesn't work
  • Index(es):
    • Date
    • Thread