title: The easiest way to write NSData to a file
body: <pre><code>NSData *data;
  data = [self fillInSomeStrangeBytes];
  </code></pre>
  
  <p>My question is now how I can write this <code>data</code> on the easiest way to an file.  </p>
  
  <p>(I've already an NSURL <code>file://localhost/Users/Coding/Library/Application%20Support/App/file.strangebytes</code>)</p>