• 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
NSCollectionView and drag tolerance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCollectionView and drag tolerance


  • Subject: NSCollectionView and drag tolerance
  • From: Harry Vangberg <email@hidden>
  • Date: Sun, 1 Nov 2009 23:42:43 +0100

Hello

I have a NSCollectionView with setAllowsMultipleSelection:NO, which is a drag
source via NSCollectionViewDelegate. That works great, except for one thing:
to start a drag you must hold the mouse down in the same spot for roughly 1
second, which makes it almost impossible to use on a touchscreen, where
clicking the same spot for 1 second is more than difficult. So: is there some
way to

a)      Make the drag happen instantly, without the delay, which I believe is
        there because of the ability to select multiple view items. That
        doesn't matter though, because I don't allow that, as stated earlier.

or

b)      Add some kind of 'tolerance radius' inside which the mouse down event
        must happen, which would make it possible to initiate a drag via the
        less-than-precise control a touchscreen is.

This is with 10.6.

Thanks,
Harry
_______________________________________________

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: NSCollectionView and drag tolerance
      • From: Raphael Sebbe <email@hidden>
  • Prev by Date: Bulletproof way to create a new CGBitmapContext from an existing image?
  • Next by Date: Apple Remote Control Wrapper sends same button ID for all buttons.
  • Previous by thread: Re: Bulletproof way to create a new CGBitmapContext from an existing image?
  • Next by thread: Re: NSCollectionView and drag tolerance
  • Index(es):
    • Date
    • Thread