|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|
|Cannot move files to trash||goranzon||Mac Basics and Help||2||Oct 5, 2010 09:56 AM|
|Can't move files to trash! help!||mgs53||Mac Basics and Help||7||Aug 31, 2010 09:09 PM|
|itunes not moving files to trash||jfish666||Mac Applications and Mac App Store||4||Jun 19, 2009 11:01 PM|
|Moving files to trash||wattso||OS X||4||Jul 15, 2007 06:00 PM|
|iTunes doesn't let me move files to trash?||Gary King||Mac Applications and Mac App Store||4||Jan 23, 2006 05:18 PM|
All times are GMT -5. The time now is 08:04 PM.