A Quick Look Plugin to examine the contents of .bbc4
packages.
Creating a Quick Look project File > New > Project...
and selecting Quick Look Plugin
.
Once done testing and debugging the plugin requires some manual intervention.
Apple's documentation isn't up to date with XCode 8. The following links offer some guidance:
- Debugging a Quicklook plugin
- Debugging Quicklook plugin in XCode 4
- Creating a Quick Look plugin
- OSX Quick Look Plugin development
However the build scheme changes detailed failed with the XCode console error Message from debugger: cannot attach to process due to System Integrity Protection Program ended with exit code: -1
at run time.
Output the generate preview resuts to a directory (-o
) with /usr/bin/qlmanage -o /tmp/bbc4 -p ./ql-test.bbc4 -g ./ql-bbc4.qlgenerator -c public.plain-text
(to try -c uk.co.bbc.bbc4
).
Find out if the .qlgenerator
is registered use qlmanage -m plugins | grep bbc
.
Inspect the UTI details associated with files using mdls your-file.ext
.