Deleting preference file from within the application
Deleting preference file from within the application
- Subject: Deleting preference file from within the application
- From: Andrew BusH <email@hidden>
- Date: Tue, 29 Apr 2008 16:22:45 +1200
Hi all,
I am attempting to add an 'Uninstall' option to an application, to do
this I remove all the support files and then finally delete the
preferences file and terminate the application.
unfortunately (albeit unsurprisingly) the last thing the application
does before it quits is write out the preferences, thereby recreating
the preferences file.
is there anyway to stop the application from doing this? Ive looked
through NSUserDefaults but there is nothing there that looks up to the
job.
does anyone have any ideas?
thanks for any help.
- Andrew
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden