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.
Is it impossible to write a file in desktop using swift or objective-c?
If so please explain why.
If not please tell me how to do so using playground