• 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: One more try - NSCollectionView multi-selection problem..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One more try - NSCollectionView multi-selection problem..


  • Subject: Re: One more try - NSCollectionView multi-selection problem..
  • From: Graham Cox <email@hidden>
  • Date: Tue, 10 Jul 2012 16:51:32 +1000

On 10/07/2012, at 4:37 PM, Robert Monaghan wrote:

> Ok,
>
> So in the meantime, I have a bunch of customers filing bugs/feature requests to implement this ability..
> (Its a popular request, shall we say..)
>
> Is this something that can be overridden, turned on/off? Has anyone done this?


I haven't done it, but it should be easy enough.

When the delegate is told that the selection has changed, check if the shift key is down for the current event,  grab the selection index and fill in the gaps. Then call -setSelectionIndexes:

--Graham



_______________________________________________

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: One more try - NSCollectionView multi-selection problem..
      • From: Keary Suska <email@hidden>
References: 
 >One more try - NSCollectionView multi-selection problem.. (From: Robert Monaghan <email@hidden>)
 >Re: One more try - NSCollectionView multi-selection problem.. (From: Graham Cox <email@hidden>)
 >Re: One more try - NSCollectionView multi-selection problem.. (From: Robert Monaghan <email@hidden>)

  • Prev by Date: Re: One more try - NSCollectionView multi-selection problem..
  • Next by Date: Why would UIBarButtonItems simply not show up?
  • Previous by thread: Re: One more try - NSCollectionView multi-selection problem..
  • Next by thread: Re: One more try - NSCollectionView multi-selection problem..
  • Index(es):
    • Date
    • Thread