Drag and drop from NSCollectionView (bug?)
Drag and drop from NSCollectionView (bug?)
- Subject: Drag and drop from NSCollectionView (bug?)
- From: Matteo Manferdini <email@hidden>
- Date: Thu, 2 Oct 2008 08:02:40 +0200
Hi all,
I'm trying to substitute a NSTableView I've been using with the new
NSCollectionView in Leopard.
Actually, with the table view, I've implemented drag and drop so that
I can drag items from the table into another view. With
NSCollectionView I'm having no success though.
The problem is that both the collection view and the custom view (that
the collection view uses as a prototype) do not receive mouse drags: I
subclassed them both and implemented mouseDragged: method, but if i
put a breakpoint inside of both of them, I see it never gets called
when I drag the mouse. Other methods (like mouseDown:) work well, so I
wonder why this method isn't working.
Has anyone been able to make this work? Any clue? May be this a bug?
Thank you very much.
Cheers.
---
Matteo Manferdini
_______________________________________________
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