Two things I immediately discovered:
- Swift is nowhere near as nice as Python for processing text files and so I actually still haven't written the scene file parsing code yet
- It's a really pain to work out how to use Cocoa for things like generating an image file. I finally ended up on TIFF output as I could work out how to do that.