I also like to introduce you to an open-source Objective-C project and API (no Swift yet) for reading Magic Lantern video files and converting the Magic Lantern specific RAW format to DNG. Magic Lantern is an open-source project published under the GPL license. To be able to comply with the license and include support for it in a commercial product at the same time, I developed a binary that runs as a separate process and communication between the external process and the main app binary is done via inter-process communication. I published the project on GitHub. Please check it out, watch it, star it, fork it and spread the word. It would be great if other projects can also benefit from my work and thus spread the word about Magic Lantern, which in my opinion is a great project.
Included in this project as well is the beginning of a second macOS app solely dedicated to batch processing Magic Lantern files like converting to Cinema DNG, compressing or decompressing, etc. I'd be happy to find some collaborators.