|Jun 2, 2009, 04:49 AM||#1|
NSFileManager move files to trash
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?
|Jun 2, 2009, 05:15 AM||#2|
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...
Sponsor me to cycle 100Km round London in the dark
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Finder won't move files to Trash??!!||AppleTalker||OS X Mavericks (10.9)||2||Feb 28, 2014 05:29 PM|
|Cannot move mpeg4 files to trash||jozi||Mac Basics and Help||0||Nov 5, 2013 02:40 AM|
|iPhoto (move to trash)||DJTaurus||OS X Mavericks (10.9)||5||Nov 3, 2013 01:41 PM|
|Password To Move To Trash?||Joe-M||iMac||3||Jul 15, 2013 05:12 PM|
|Plist -> Cannot move it to trash?||DJTaurus||Mac Basics and Help||15||Jul 26, 2012 01:59 PM|
All times are GMT -5. The time now is 03:36 PM.