• 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: Exception in IKImageBrowserView in macOS 10.13 GM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception in IKImageBrowserView in macOS 10.13 GM


  • Subject: Re: Exception in IKImageBrowserView in macOS 10.13 GM
  • From: Jim Crate <email@hidden>
  • Date: Sun, 5 Nov 2017 12:53:07 -0500

On Nov 5, 2017, at 11:56 AM, Steve Mills <email@hidden> wrote:
>
> On Nov 5, 2017, at 10:23:09, Jim Crate <email@hidden> wrote:
>>
>> The Finder icon view works the same way, and has since at least 10.10 or so.
>> When I initially replaced the IKImageBrowserView in a client’s app with
>> NSCollectionView, I was unhappy that shift-clicking didn’t extend the
>> selection like it did before. It was the fact that Finder no longer worked
>> that way in 10.10 or 10.11 that made me not bother to try to figure out how
>> to do it. In the end, it was apparently something the users of the app never
>> really used or needed.
>
> Yes, but the Finder icon view isn't totally comparable with a replacement for
> IKImageBrowserView. Finder icons can be arranged willy nilly - they don't
> need to be in organized rows and columns the way standard NSCollectionViews
> are. So it makes sense that Finder doesn't do it that way, although it *is*
> totally annoying that it doesn't even when you've auto-arranged them into
> perfect rows and columns.

True. And Photos does still select all items between when shift-clicking.

If you really wanted it, it seems like it would be relatively simple to track
the last item selected, and if shift is down in

collectionView:didSelectItemsAtIndexPaths:

then add all items between to the selection. Is there something I’m missing
that makes that unworkable? I’m not sure why I didn’t try that before, but
since nobody missed shift-selecting I never revisited it.

Jim Crate

_______________________________________________

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: Exception in IKImageBrowserView in macOS 10.13 GM
      • From: Steve Mills <email@hidden>
    • Re: Exception in IKImageBrowserView in macOS 10.13 GM
      • From: Rob Petrovec <email@hidden>
References: 
 >Re: Exception in IKImageBrowserView in macOS 10.13 GM (From: Rob Petrovec <email@hidden>)
 >Re: Exception in IKImageBrowserView in macOS 10.13 GM (From: Steve Mills <email@hidden>)
 >Re: Exception in IKImageBrowserView in macOS 10.13 GM (From: Jim Crate <email@hidden>)
 >Re: Exception in IKImageBrowserView in macOS 10.13 GM (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Exception in IKImageBrowserView in macOS 10.13 GM
  • Next by Date: Re: Exception in IKImageBrowserView in macOS 10.13 GM
  • Previous by thread: Re: Exception in IKImageBrowserView in macOS 10.13 GM
  • Next by thread: Re: Exception in IKImageBrowserView in macOS 10.13 GM
  • Index(es):
    • Date
    • Thread