Re: Finder-like user interface?
Re: Finder-like user interface?
- Subject: Re: Finder-like user interface?
- From: Alex Zavatone <email@hidden>
- Date: Mon, 28 Dec 2015 10:10:10 -0500
Uli, since you put this together, would you have any insight into finding a method to disable the cascade roll down and roll up animation that happens in today's Finder and within Xcode as well?
I find it very annoying (and visually distracting) that I have to wait for an animation to finish after clicking on a disclosure triangle in an NSOutlineView when in the old days, the contents would either display or hide instantly.
It would be awesome if there is a way to get the instant response that we used to get. The less superfluous animations, the better.
Thanks,
Alex Zavatone
On Dec 28, 2015, at 3:38 AM, Uli Kusterer wrote:
> On 28 Dec 2015, at 01:15, Graham Cox <email@hidden> wrote:
>>> On 28 Dec 2015, at 9:45 AM, SevenBits <email@hidden> wrote:
>>>
>>> For a new application I’m building I need to have a view showing a grid-based layout of files, similar to the default view of the Finder. I’m not sure how to implement this. NSCollectionView appears to suffice, and I’ve used it before, but it simply isn’t performant as it doesn’t reuse cells, and it doesn’t seem like it’s designed for this kind of thing. On the other kind, NSBrowser seems to be built for representing the file system, but based on example code I’ve found on ADC it only seems suitable for building an interface out of Miller columns, which isn’t suitable for me.
>>>
>>> Is anyone aware of how to do something like this? I’m open to using 3rd-party components and/or code if necessary.
>>
>> I’ve used Uli Kusterer’s UKDistributedView for this, using a cell class of my own, and a few other mods. I’m not sure if Uli is still maintaining this, but it did the job. http://www.cocoabuilder.com/archive/cocoa/93982-ann-ukdistributedview-finder-icon-view.html
>>
>> Uli reads this list, he may be able to tell you the latest news.
>
> I'm using the version on my Github at https://github.com/uliwitness/UKDistributedView in Stacksmith, so it still compiles and runs. That said, the look of the included cell is not quite in-line with today's Finder (I think it's more like 10.5's or so), and if I was doing this class again today, I'd probably try to switch to using CALayers instead of cells. Also, of course the IB plugin stuff in there is no longer useful. But the main view and cell classes proper should be a decent (and reasonably performant) starting point for your needs. Pull requests are appreciated.
>
> Cheers,
> -- Uli Kusterer
> "The Witnesses of TeachText are everywhere..."
> http://stacksmith.org
>
>
>
>
>
> _______________________________________________
>
> 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
_______________________________________________
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