• 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
Cannot D&D from an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot D&D from an NSTableView


  • Subject: Cannot D&D from an NSTableView
  • From: Koen van der Drift <email@hidden>
  • Date: Sun, 13 Nov 2011 21:12:26 -0500

Hi,

I am setting up D&D from an NSTableView, but I cannot drag any items. I have added registerForDraggedTypes and - (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard  to my table view controller, and the controller is both the datasource and delegate for the table view. The latter method does not even get called.

What am I missing?  I am using Xcode 4.2 on 10.7.2.

- Koen._______________________________________________

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

  • Follow-Ups:
    • Re: Cannot D&D from an NSTableView
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSBitmapImageRep and alpha channel
  • Next by Date: Re: Cannot D&D from an NSTableView
  • Previous by thread: Re: Natural language
  • Next by thread: Re: Cannot D&D from an NSTableView
  • Index(es):
    • Date
    • Thread