Problem with NSUserDefaults
Problem with NSUserDefaults
- Subject: Problem with NSUserDefaults
- From: Michael Becker <email@hidden>
- Date: Mon, 3 Nov 2003 19:05:19 +0100
Hi!
I am running into the following errors AFTER quitting my application:
2003-11-03 18:57:41.569 piclist[4361] *** -[NSCFString
_invalidateGStatesForTree]: selector not recognized
2003-11-03 18:57:41.570 piclist[4361] *** -[NSCFString
_invalidateGStatesForTree]: selector not recognized
I am using NSUserDefaults the following way in my controller class:
#define preferences [ NSUserDefaults standardUserDefaults]
+ (void)initialize {
NSMutableDictionary *defaultPrefs = [ NSMutableDictionary dictionary];
[ defaultPrefs setObject:[NSString stringWithString:@"YourLogin"]
forKey:@"login"];
[ preferences registerDefaults:defaultPrefs];
}
My application works flawlessly so far, but after quitting it produces
those errors.
What's going on? :-)
Thanks
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.