title: Create Subfolder in NSDocumentDirectory
body: <p>I just wanted to know if it's possible to create a subfolder in the NSDocumentDirectory and write data into that created folder, like:</p>
  
  <pre><code>NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);    
  NSString *dirPath =[[paths objectAtIndex:0] stringByAppendingPathComponent:@"TestFolder"];  
  NSString *filePath =[dirPath stringByAppendingPathComponent:@"testimage.jpg"];  
  [imageData writeToFile:filePath atomically:YES];
  </code></pre>
  
  <p>Thanks in advance for your support!</p>