• 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: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil


  • Subject: Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 27 Apr 2006 15:20:12 -0600


On Apr 27, 2006, at 3:15 PM, Simon Liu wrote:

My custom tableview implements behaviour similar to iTunes, where
clicking on a certain column (e.g. Title) of an already selected row,
lets the user edit that cell.  This is handled in my custom
-mouseDown:

If the user drags that cell of the already selected row, iTunes starts
a drag session.  So to implement this second behaviour, I added a
modal loop in my -mouseDown: where I can catch NSLeftMouseDragged and
NSLeftMouseUp.

I guess I still don't understand; NSTableView has its own built-in drag session support and it sounds like you're trying to override it. Why? Things ought to work as expected if you use the built-in drag support instead of short-circuiting -mouseDown:.


Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil (From: "Simon Liu" <email@hidden>)
 >Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil (From: Nick Zitzmann <email@hidden>)
 >Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil (From: "Simon Liu" <email@hidden>)

  • Prev by Date: Re: NSNumberFormatter and localized format problem
  • Next by Date: Selector 'knownKeyValuesPointer' sent to dealloced instance of class NSSQLRow
  • Previous by thread: Re: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
  • Next by thread: Problems building a Universal Binary that also works on Panther
  • Index(es):
    • Date
    • Thread