title: How can I get all the file names of documents in my sandbox?
body: <p>I have the following code:</p>
  
  <pre><code>NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
  NSString *documentsDirectory = [paths objectAtIndex:0];
  </code></pre>
  
  <p>However I am clueless as to how to get all the files names and assign them to an array?</p>
  
  <p>Any help would be appreciated.</p>