Re: One more try - NSCollectionView multi-selection problem..
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