• 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: Dragging tableView rows to an external applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging tableView rows to an external applications


  • Subject: Re: Dragging tableView rows to an external applications
  • From: Graham Cox <email@hidden>
  • Date: Tue, 23 Sep 2008 22:25:04 +1000


On 23 Sep 2008, at 10:22 pm, Graham Cox wrote:

Have you actually written the promised files type in - tableView:writeRowsWithIndexes:toPasteboard: ? If not, that might be why you're not seeing the expected cursor.


This further passage from the same doc is also pertinent, I guess:

"The NSTableView class only supports local drags by default. When you try to drag table rows outside of the application, the table view's draggingSourceOperationMaskForLocal: method returns NSDragOperationNone. To allow interapplication drags in Mac OS X v10.4 and later, call the setDraggingSourceOperationMask:forLocal: method of NSTableView. (If your code supports versions of Mac OS X prior to v10.4, you must subclass NSTableView instead and override draggingSourceOperationMaskForLocal: to return an appropriate value.)"


This from:

http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/UsingDragAndDrop.html#/ /apple_ref/doc/uid/20000726


Graham _______________________________________________

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: 
 >Dragging tableView rows to an external applications (From: Steve Cronin <email@hidden>)
 >Re: Dragging tableView rows to an external applications (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Dragging tableView rows to an external applications
  • Next by Date: Application frameworks for Objective-C?
  • Previous by thread: Re: Dragging tableView rows to an external applications
  • Next by thread: Setting "Open With" program/file association programmatically (command line or script)
  • Index(es):
    • Date
    • Thread