A helper for working with temporary files in Swift – Ole Begemann

I often find myself having to create a temporary file in code for some operation, and every time it turns into a small nuisance: I have to find a suitable temp directory, make sure I give the file a unique name, and must not forget to delete the file after I’m done with it. Source: […]

NSBundle.current – ⎋ bou.io

With this, I can finally write Bundle.current everywhere, instead of Bundle.main or Bundle(for: AnyClass). Source: NSBundle.current – ⎋ bou.io