• 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
cocoa -draggingImageComponents not called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: cocoa -draggingImageComponents not called
      • From: Martin Hewitson <email@hidden>
  • Prev by Date: Re: CoreText and a trailing space
  • Next by Date: Anyone seen [NSCursor set] crash by calling abort()?
  • Previous by thread: Re: iOS splash screen animation
  • Next by thread: Re: cocoa -draggingImageComponents not called
  • Index(es):
    • Date
    • Thread