Using: macOS Sierra 10.12.6, Swift 4.0, Xcode 9.0 (Beta 6 9M214v), Storyboards
I’m trying to make a simple image viewing application for macOS. Instead of implementing my own mechanism for generating thumbnails/previews for image files on disk, it would be better if I could tap into the work already done by Finder and QuickLook, and just display thumbnails from their cache.
The API (like most of the documentation for macOS development) isn’t very clear and focuses on QuickLook Generators; whereas I just want to consume and display QuickLook/Finder thumbnail/previews.
How can I access and display the Finder-generated thumbnails for image files in my own app?