• 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: Drag with NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag with NSTableView


  • Subject: Re: Drag with NSTableView
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 13 Aug 2007 07:12:55 -0400

On Aug 13, 2007, at 6:17 AM, Livio Isaia wrote:
Unfortunately nothing happens, I mean the methods for dragging (e.g. (BOOL)tableView:writeRowsWithIndexes:toPasteboard:) are never called.
Practically I followed all the steps I found in Drag and "Drop Programming Topics for Cocoa"->"Using Drag and Drop in Tables" (I also looked at the samples DragNDropOutlineView and WithAndWithoutBindings).

Please search the list's archives before posting as this is a super-FAQ. You need to -registerForDraggedTypes: which is, incidentally, STEP ONE in the documentation:


http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/ Tasks/UsingDragAndDrop.html

--
I.S.



_______________________________________________

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: Drag with NSTableView
      • From: Livio Isaia <email@hidden>
References: 
 >Drag with NSTableView (From: Livio Isaia <email@hidden>)

  • Prev by Date: Tidy up before saving
  • Next by Date: Re: CGImageRef to bitmap context?
  • Previous by thread: Drag with NSTableView
  • Next by thread: Re: Drag with NSTableView
  • Index(es):
    • Date
    • Thread