On Nov 5, 2017, at 11:56 AM, Steve Mills <sjmi...@mac.com> wrote: > > On Nov 5, 2017, at 10:23:09, Jim Crate <j...@quevivadev.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com