How do I create a temporary file with Cocoa?

A safe way is to use mkstemp(3).

Leave a Comment