From a66bb85b1232240b5d155538d42e5914edbda4a5 Mon Sep 17 00:00:00 2001 From: CaS Date: Sat, 3 Mar 2001 16:47:58 +0000 Subject: [PATCH] Regenerated user defaults doc git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9288 72102866-910b-0410-8b05-ffd578937521 --- Documentation/gsdoc/NSUserDefaults.html | 141 ++++++++++++++---------- 1 file changed, 81 insertions(+), 60 deletions(-) diff --git a/Documentation/gsdoc/NSUserDefaults.html b/Documentation/gsdoc/NSUserDefaults.html index eac3ed36c..bb17b7862 100644 --- a/Documentation/gsdoc/NSUserDefaults.html +++ b/Documentation/gsdoc/NSUserDefaults.html @@ -74,7 +74,7 @@

- The Languages default value is used to set up the + The NSLanguages default value is used to set up the constants for localization. GNUstep will also look for the LANGUAGES environment variable if it is not set in the defaults system. If it exists, it consists of an @@ -88,7 +88,7 @@ As a special extension, on systems that support locales (e.g. GNU/Linux and Solaris), GNUstep will use information - from the user specified locale, if the Languages + from the user specified locale, if the NSLanguages default value is not found. Typically the locale is specified in the environment with the LANG environment variable. @@ -101,184 +101,205 @@

Methods


Class Methods

standardUserDefaults

+ (NSUserDefaults*) standardUserDefaults;
+ Returns a shared instance of the class containing the standard + defaults for the process. + +
+

userLanguages

++ (NSArray*) userLanguages;
+Standards: GNUstep NotMacOS-X NotOpenStep
+ + Returns the array of user languages preferences. Uses the + NSLanguages user default if available, otherwise + tries to infer setup from operating system information etc + (in particular, uses the LANGUAGES environment variable).

Instances Methods

-

arrayForKey:

+

arrayForKey:

- (NSArray*) arrayForKey: (NSString*)defaultName;
+ Looks up a value for a specified default, checks that it is + an array. Returns nil if it is not.
-

boolForKey:

+

boolForKey:

- (BOOL) boolForKey: (NSString*)defaultName;
+ Looks up a value for a specified default, checks that it is + a boolean. Returns NO if it is not present.
-

dataForKey:

+

dataForKey:

- (NSData*) dataForKey: (NSString*)defaultName;
+ Looks up a value for a specified default, checks that it is + an NSData object. Returns nil if it is not.
-

dictionaryForKey:

+

dictionaryForKey:

- (NSDictionary*) dictionaryForKey: (NSString*)defaultName;
+ Looks up a value for a specified default, checks that it is + an NSDictionary object. Returns nil if it is not.
-

dictionaryRepresentation

+

dictionaryRepresentation

- (NSDictionary*) dictionaryRepresentation;

-

floatForKey:

+

floatForKey:

- (float) floatForKey: (NSString*)defaultName;

-

init

+

init

- (id) init;

-

initWithUser:

+

initWithUser:

- (id) initWithUser: (NSString*)username;

-

integerForKey:

+

integerForKey:

- (int) integerForKey: (NSString*)defaultName;

-

objectForKey:

+

objectForKey:

- (id) objectForKey: (NSString*)defaultName;

-

persistentDomainForName:

+

persistentDomainForName:

- (NSDictionary*) persistentDomainForName: (NSString*)domainName;

-

persistentDomainNames

+

persistentDomainNames

- (NSArray*) persistentDomainNames;

-

registerDefaults:

+

registerDefaults:

- (void) registerDefaults: (NSDictionary*)dictionary;

-

removeObjectForKey:

+

removeObjectForKey:

- (void) removeObjectForKey: (NSString*)defaultName;

-

removePersistentDomainForName:

+

removePersistentDomainForName:

- (void) removePersistentDomainForName: (NSString*)domainName;

-

removeVolatileDomainForName:

+

removeVolatileDomainForName:

- (void) removeVolatileDomainForName: (NSString*)domainName;

-

searchList

+

searchList

- (NSArray*) searchList;

-

setBool:forKey:

+

setBool:forKey:

- (void) setBool: (BOOL)value forKey: (NSString*)defaultName;

-

setFloat:forKey:

+

setFloat:forKey:

- (void) setFloat: (float)value forKey: (NSString*)defaultName;

-

setInteger:forKey:

+

setInteger:forKey:

- (void) setInteger: (int)value forKey: (NSString*)defaultName;

-

setObject:forKey:

+

setObject:forKey:

- (void) setObject: (id)value forKey: (NSString*)defaultName;

-

setPersistentDomain:forName:

+

setPersistentDomain:forName:

- (void) setPersistentDomain: (NSDictionary*)domain forName: (NSString*)domainName;

-

setSearchList:

+

setSearchList:

- (void) setSearchList: (NSArray*)array;

-

setVolatileDomain:forName:

+

setVolatileDomain:forName:

- (void) setVolatileDomain: (NSDictionary*)domain forName: (NSString*)domainName;

-

stringArrayForKey:

+

stringArrayForKey:

- (NSArray*) stringArrayForKey: (NSString*)defaultName;

-

stringForKey:

+

stringForKey:

- (NSString*) stringForKey: (NSString*)defaultName;

-

synchronize

+

synchronize

- (BOOL) synchronize;

-

volatileDomainForName:

+

volatileDomainForName:

- (NSDictionary*) volatileDomainForName: (NSString*)domainName;

-

volatileDomainNames

+

volatileDomainNames

- (NSArray*) volatileDomainNames;