On 19 Apr '08, at 8:04 AM, Kevin Grant wrote:

[[[NSUserDefaults alloc] init] removePersistentDomainForName:@"com.yourdomain.yourapp"];

I think that should work. To be safe, call
        [[NSUserDefaults standardUserDefaults] synchronize];
first; otherwise if there are any unsaved changes to the defaults, they might get written out after the file gets deleted, thereby re- creating it.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to