My application lists audio files (MP3) in a NSTableView, with the object for each row containing a path to the audio file. I would like to be able to preview an audio file with Quick Look (like in Finder) when hitting the space bar while one row is selected.
By looking at related questions and answers, I noticed that the API seems to be private and so it's been very hard to find recent and reliable information or documentation about this, let alone in Swift. What's more, most examples I found related to image preview, and some were actually mentioning the "debug quick look" of Xcode, which is not what I'm interested in at all.
I have seen an FTP client that does Quick Look previews for any file that the Finder can preview, so I'm guessing it is possible to use it inside one's app, especially if the file format is natively supported.
Can someone point me in the right direction?