• 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: Cannot D&D from an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot D&D from an NSTableView


  • Subject: Re: Cannot D&D from an NSTableView
  • From: Koen van der Drift <email@hidden>
  • Date: Mon, 14 Nov 2011 18:45:34 -0500

On Nov 14, 2011, at 4:49 PM, Graham Cox wrote:

>
> On 15/11/2011, at 12:05 AM, Koen van der Drift wrote:
>
>>  I am using a custom cell
>
>
> This is most likely the cause. Try substituting a standard text cell and see if the drag works. If so, you know where to look.
>
> Cells are often very tricky in all sorts of subtle ways, and hard to get right. They are meant to "fit in" in so many different places that ensuring a custom cell works correctly is usually a lot more trouble that it's worth. You may find, depending on what OS versions you plan to support, that using the more recent custom view support will be easier.
>
> --Graham
>
>


Hi Graham,

You were right. Implementing the custom cell, even though I only was calling drawFrameRect caused the D&D not to work.

Thanks,

- Koen._______________________________________________

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: Cannot D&D from an NSTableView
      • From: Conrad Shultz <email@hidden>
References: 
 >Cannot D&D from an NSTableView (From: Koen van der Drift <email@hidden>)
 >Re: Cannot D&D from an NSTableView (From: Jens Alfke <email@hidden>)
 >Re: Cannot D&D from an NSTableView (From: Koen van der Drift <email@hidden>)
 >Re: Cannot D&D from an NSTableView (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Calling a Cocoa library from C
  • Next by Date: Re: Implementing Full Screen for 10.7 but app should also run on 10.6
  • Previous by thread: Re: Cannot D&D from an NSTableView
  • Next by thread: Re: Cannot D&D from an NSTableView
  • Index(es):
    • Date
    • Thread