cocoa -draggingImageComponents not called
cocoa -draggingImageComponents not called
- Subject: cocoa -draggingImageComponents not called
- From: Martin Hewitson <email@hidden>
- Date: Thu, 11 Apr 2013 20:46:55 +0200
Dear list,
I'm continuing my adventures in view-based tableview land. I've got drag-n-drop working nicely, but I'd like to improve the image that's shown during a drag. Currently I just get the subviews of my NSTableCellView subclass, but I don't get the background that's drawn in -drawBackgroundInRect: of my NSTableRowView subclass. The documentation seems to suggest that one should override -draggingImageComponents in the NSTableCellView subclass, but it seems never to be called.
Can anyone shed any light on this? Should I be overriding something in the NSTableRowView subclass instead? Is there a switch I need to flick to get -draggingImageComponents to be called?
Cheers,
Martin
_______________________________________________
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