title: Is it impossible to write a text file in desktop using swift or objective-c?
body: <p>I know how to write text to a file in the Project's document folder.
  But swift not allowing me to do the same with different location like User's desktop folder or anywhere else.</p>
  
  <p>Is it impossible to write a file in desktop using swift or objective-c?</p>
  
  <p>If so please explain why.</p>
  
  <p>If not please tell me how to do so using playground</p>