• 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: NSCollectionView start dragging immediately
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCollectionView start dragging immediately


  • Subject: Re: NSCollectionView start dragging immediately
  • From: Lee Ann Rucker <email@hidden>
  • Date: Wed, 5 Jan 2011 12:31:33 -0800
  • Acceptlanguage: en-US
  • Thread-topic: NSCollectionView start dragging immediately

On Jan 5, 2011, at 9:33 AM, Martin Hewitson wrote:

> Dear List,
>
> I have an app which contains a collection view with items which are supposed to be re-ordered by the user. All is working well apart from one niggle: the user has to click and hold down the mouse button for about 1 second before a drag begins. This is most unintuitive and it took me a while to realise that this is what's required.
>
> Does anyone know of a way to avoid this behaviour? A google search showed me that others have asked this question, but I didn't find any answer. I'm wondering if there is new information that has come to light since the days of 10.5.

I haven't looked into that because I do want the delay; my app needs to tell the difference between mouseDown: that causes a drag and mouseDown: that should go to the collectionViewItem's contents instead.

But I do know that it's all done as a tracking loop in mouseDown: instead of mouseDragged: etc, so that's a place to start.

_______________________________________________

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

References: 
 >NSCollectionView start dragging immediately (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: Context in GCD source cancel handler?
  • Next by Date: Re: Context in GCD source cancel handler?
  • Previous by thread: NSCollectionView start dragging immediately
  • Next by thread: [Job Posting] Software Engineer in Columbia, MD, USA
  • Index(es):
    • Date
    • Thread