title: Can FileManager.default.urls(for:in:) be used to get tmp/ directory in iOS?
body: <p>I've successfully used the following to get the <code>tmp/</code> directory in iOS:</p>
  
  <pre><code>let path = NSURL.fileURL(withPath: NSTemporaryDirectory(), isDirectory: true)
  </code></pre>
  
  <p>API docs would seem to prefer we use FileManager to get the <code>Documents/</code> directory:</p>
  
  <pre><code>let path = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first
  </code></pre>
  
  <p>Is there a way to use <code>FileManager.default.urls(for:in:)</code> or something similar to get the <code>tmp/</code> directory in iOS?  I tried <code>.itemReplacementDirectory</code> and <code>.url(for:in:appropriateFor:create:)</code>, but they didn't work.</p>
  
  <p>Any help/guidance would be greatly appreciated!</p>
  
  <p>Swift 3, iOS 10</p>