|Jun 2, 2009, 03: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, 04: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 04:29 PM|
|Cannot move mpeg4 files to trash||jozi||Mac Basics and Help||0||Nov 5, 2013 01:40 AM|
|iPhoto (move to trash)||DJTaurus||OS X Mavericks (10.9)||5||Nov 3, 2013 12:41 PM|
|Password To Move To Trash?||Joe-M||iMac||3||Jul 15, 2013 04:12 PM|
|Plist -> Cannot move it to trash?||DJTaurus||Mac Basics and Help||15||Jul 26, 2012 12:59 PM|
All times are GMT -5. The time now is 11:14 AM.