Hi All,
My development environment is XCode 4.3.2 on Lion.
My cocoa XCode .app gets installed in the Applications folder.
The app generates debug log files under
/Users/Logged-inUser/Library/Application Support/MyApp/
(logs needed for debugging issues reported by customers)
If I were to drag the application and trash out the same, though the application is uninstalled from the machine, these log files continue to be there.
Is there a mechanism by which I can get notified when the user drags the app to trash for uninstallation so that I can handle the notification to perform necessary cleanup?
Thanks & Regards.
My development environment is XCode 4.3.2 on Lion.
My cocoa XCode .app gets installed in the Applications folder.
The app generates debug log files under
/Users/Logged-inUser/Library/Application Support/MyApp/
(logs needed for debugging issues reported by customers)
If I were to drag the application and trash out the same, though the application is uninstalled from the machine, these log files continue to be there.
Is there a mechanism by which I can get notified when the user drags the app to trash for uninstallation so that I can handle the notification to perform necessary cleanup?
Thanks & Regards.