• 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
Drag and drop from NSCollectionView (bug?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Drag and drop from NSCollectionView (bug?)
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Direct use of NSScroller?
  • Next by Date: Re: Drag and drop from NSCollectionView (bug?)
  • Previous by thread: Re: Direct use of NSScroller?
  • Next by thread: Re: Drag and drop from NSCollectionView (bug?)
  • Index(es):
    • Date
    • Thread