> On 28 Dec 2015, at 9:45 AM, SevenBits <[email protected]> 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. —Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
