I want to delete files to Trash using NSFileManager in my program.
However, I am using removefilesAtPath method and this method deletes the file permanently. Is there any option so the the deleted files will go to the Trash?
There is significant discussion on this over at CocoaDev...
I'll leave you to read through it and decide on the best method for you! You would have thought there would be a simple answer, but there is not as the Apple supplied method does not always do what you expect...