Re: NSUserDefaults question
Re: NSUserDefaults question
- Subject: Re: NSUserDefaults question
- From: jerome LAURENS <email@hidden>
- Date: Fri, 7 Jun 2002 13:49:31 +0200
Le vendredi 7 juin 2002, ` 02:22 AM, John Anderson a icrit :
I think what you want to use here is standardUserDefaults. Make sure
you have an identifier set in your bundle settings. You'll typically
want to initialize your defaults in the main() function of your
application, before any classes get loaded. For example, this is the
main() function of my application (Presence):
as documented in the apple doc, defaults defaults should be registered
in the +(void)initialize method
a first glance this is more... OOP, each class only declares the
defaults that it needs
_______________________________________________
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.