• 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: Keary Suska <email@hidden>
  • Date: Tue, 10 Jul 2012 08:02:37 -0600

On Jul 10, 2012, at 12:51 AM, Graham Cox wrote:

>
> 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:


Except that you're thinking about NSTableView--NSCollectionView doesn't have any delegate methods for selection semantics, that I know of. It sounds fragile to me but maybe this check could be done in -setSelectionIndexes: ?

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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

  • Prev by Date: cocoabuilder closed?
  • Next by Date: Re: "Capturing 'self' strongly in this block is likely to lead to a retain cycle"
  • Previous by thread: Re: One more try - NSCollectionView multi-selection problem..
  • Next by thread: "Capturing 'self' strongly in this block is likely to lead to a retain cycle"
  • Index(es):
    • Date
    • Thread