• 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: Strange Behaviour of NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Behaviour of NSTableView


  • Subject: Re: Strange Behaviour of NSTableView
  • From: Corbin Dunn <email@hidden>
  • Date: Wed, 8 Feb 2006 17:13:13 -0800

Keith,
It sounds like you aren't doing one of too things.
1. registerForDraggedTypes may not be called.
2. You probably aren't delcaring the types on the pboard:

[pboard declareTypes:[NSArray arrayWithObject:BasicTableViewDragAndDropDataType] owner:self]

(sounds like #2)

Check out http://www.corbinstreehouse.com/blog/?p=21


On Dec 29, 2005, at 3:43 AM, Janakiram wrote:

Hi ,
I am a Newbie to Cocoa. I am implementing the drag-drop methods in the datasource of the tableview. When i drag the table row , the drag operation is intiating but drop operation is performing some- times and doen't some times. I am not copying any data to the pasteboard but simply returning YES to the write-rows method.Can any one please tell me why this happens.



-JanakiRam._______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: [JOB] Cocoa Developer. Stockholm, Sweden.
  • Next by Date: NSTextView blocking mouseDown
  • Previous by thread: [JOB] Cocoa Developer. Stockholm, Sweden.
  • Next by thread: NSTextView blocking mouseDown
  • Index(es):
    • Date
    • Thread