Did you try clearing the defaults persistent domain in your code?
Something like the following (the juicy bits are in red) :
NSUserDefaults * myAppDefaults;
myAppDefaults = [[NSUserDefaults alloc] initWithSuiteName: (NSString*)
myAppBundleID ];
then, to clear:
#if defined RESET_MY_APP_DEFAULTS
[myAppDefaults removePersistentDomainForName: (NSString*)
myAppBundleID ];
#endif
// defaults intialization code here.
This seemed to work for me.
This comes from http://www.borkware.com/quickies
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]