• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with NSUserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Security Framework: authorization rights.
  • Next by Date: Re: NSTableView performance on Jaguar
  • Previous by thread: RE: Security Framework: authorization rights.
  • Next by thread: Why won't Cocoa app run under Xcode?
  • Index(es):
    • Date
    • Thread