Re: Strange Behaviour of NSTableView
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