diff --git a/Documentation/gsdoc/NSDictionary.gsdoc b/Documentation/gsdoc/NSDictionary.gsdoc
index 8269ee243..307b9d16f 100644
--- a/Documentation/gsdoc/NSDictionary.gsdoc
+++ b/Documentation/gsdoc/NSDictionary.gsdoc
@@ -7,16 +7,22 @@
- 0.1
- 28 February, 2000
+
+
+
+
+ 0.2
+ 25 April, 2000
NSDictionary
Foundation/NSDictionary.h
- NSCoding
+ NSCoding, NSCopying, NSMutableCopying
+
+
allocWithZone:
@@ -27,30 +33,43 @@
dictionary
+ Returns an empty dictionary.
dictionaryWithContentsOfFile:
path
+ Returns a dictionary using the file located at path.
+ The file must be a property list containing a dictionary as its root object.
dictionaryWithDictionary:
otherDictionary
+ Returns a newly created dictionary with the keys and objects of otherDictionary.
+ (The keys and objects are not copied.)
dictionaryWithObject:
anObject
+ forKey:
+ aKey
+ Returns a dictionary containing only one object (anObject) which is associated with aKey.
dictionaryWithObjects:
objects
+ forKey:
+ keys
+ Returns a dictionary created using the given objects and keys.
+ The two arrays must have the same size.
+ The n th element of the objects array is associated with the n th element of the keys array.
@@ -61,116 +80,134 @@
count:
count
+ Returns a dictionary created using the C arrays objects and keys.
+ The number of elements in both C arrays must be count.
dictionaryWithObjectsAndKeys:
- object,
+ object, ...
+ Returns a dictionary created using the list given as argument.
+ The list is alernately composed of objects and keys.
+ Thus, the list's length must be pair.
allKeys
+ Returns an array containing all the dictionary's keys.
allKeysForObject:
anObject
+ Returns an array containing all the dictionary's keys that are associated with anObject.
allValues
+ Returns an array containing all the dictionary's objects.
count
+ Returns an unsigned integer which is the number of elements stored in the dictionary.
descriptionInStringsFileFormat
+
descriptionWithLocale:
locale
+
descriptionWithLocale:
locale
+
fileGroupOwnerAccountName
+
fileModificationDate
+
fileOwnerAccountName
+
filePosixPermissions
+
fileSize
+
fileSystemFileNumber
+
fileSystemNumber
+
fileType
+
initWithContentsOfFile:
path
+ see dictionaryWithContentOfFile:
initWithDictionary:
otherDictionary
-
-
-
- initWithDictionary:
- otherDictionary
-
+ See dictionaryWithDictionary:
initWithObjects:
objects
+ See [dictionaryWithObjects:]
+
initWithObjects:
objects
@@ -179,40 +216,47 @@
count:
count
+ see dictionaryWithObjects: forKeys: count:
initWithObjectsAndKeys:
object,
+ see dictionaryWithObjectsAndKeys:
isEqualToDictionary:
otherDictionary
+
keyEnumerator
+ Return an enumerator object containing all the keys of the dictionary.
keysSortedByValueUsingSelector:
comparator
+
objectEnumerator
+ Return an enumerator object containing all the keys of the dictionary.
objectForKey:
aKey
+ Returns the first object which has aKey as key.
@@ -221,6 +265,7 @@
notFoundMarker:
anObject
+
@@ -229,6 +274,7 @@
atomically:
flag
+
diff --git a/Documentation/gsdoc/NSDictionary.html b/Documentation/gsdoc/NSDictionary.html
index 980b4fbe4..cf3d65f18 100644
--- a/Documentation/gsdoc/NSDictionary.html
+++ b/Documentation/gsdoc/NSDictionary.html
@@ -10,35 +10,39 @@
- Richard Frith-Macdonald
-
+
- Pierre-Yves Rivaille
+
-
-Version: 0.1
-Date: 28 February, 2000
+Version: 0.2
+Date: 25 April, 2000
Declared in: Foundation/NSDictionary.h
Inherits from: NSObject
-Conforms to: NSCoding
+
Conforms to: NSCoding, NSCopying, NSMutableCopying
+
+
@@ -69,176 +72,212 @@
+ (id) dictionary
+ Returns an empty dictionary.
+ (id) dictionaryWithContentsOfFile: (NSString*)path
+ Returns a dictionary using the file located at path.
+ The file must be a property list containing a dictionary as its root object.
+ (id) dictionaryWithDictionary: (NSDictionary*)otherDictionary
+ Returns a newly created dictionary with the keys and objects of otherDictionary.
+ (The keys and objects are not copied.)
-
-+ (id) dictionaryWithObject: (id)anObject
+
++ (id) dictionaryWithObject: (id)anObject forKey: (id)aKey
+ Returns a dictionary containing only one object (anObject) which is associated with aKey.
-
-+ (id) dictionaryWithObjects: (NSArray*)objects
+
++ (id) dictionaryWithObjects: (NSArray*)objects forKey: (NSArray*)keys
+ Returns a dictionary created using the given objects and keys.
+ The two arrays must have the same size.
+ The n th element of the objects array is associated with the n th element of the keys array.
+ (id) dictionaryWithObjects: (id*)objects forKeys: (id*)keys count: (unsigned int)count
+ Returns a dictionary created using the C arrays objects and keys.
+ The number of elements in both C arrays must be count.
-+ (id) dictionaryWithObjectsAndKeys: (id)object,
++ (id) dictionaryWithObjectsAndKeys: (id)object, ...
+ Returns a dictionary created using the list given as argument.
+ The list is alernately composed of objects and keys.
+ Thus, the list's length must be pair.
- (NSArray*) allKeys
+ Returns an array containing all the dictionary's keys.
- (NSArray*) allKeysForObject: (id)anObject
+ Returns an array containing all the dictionary's keys that are associated with anObject.
- (NSArray*) allValues
+ Returns an array containing all the dictionary's objects.
- (unsigned int) count
+ Returns an unsigned integer which is the number of elements stored in the dictionary.
- (NSString*) descriptionInStringsFileFormat
+
- (NSString*) descriptionWithLocale: (NSDictionary*)locale
+
- (NSString*) descriptionWithLocale: (NSDictionary*)locale
+
- (NSString*) fileGroupOwnerAccountName
+
- (NSDate*) fileModificationDate
+
- (NSString*) fileOwnerAccountName
+
- (unsigned long) filePosixPermissions
+
- (unsigned long long) fileSize
+
- (unsigned long) fileSystemFileNumber
+
- (unsigned long) fileSystemNumber
+
- (NSString*) fileType
+
- (id) initWithContentsOfFile: (NSString*)path
+ see dictionaryWithContentOfFile:
- (id) initWithDictionary: (NSDictionary*)otherDictionary
+ See dictionaryWithDictionary:
-
-- (id) initWithDictionary: (NSDictionary*)otherDictionary
-
-
-
-
+
- (id) initWithObjects: (NSArray*)objects
+ See dictionaryWithObjects:
-
+
- (id) initWithObjects: (id*)objects forKeys: (id*)keys count: (unsigned int)count
+ see dictionaryWithObjects: forKeys: count:
-
+
- (id) initWithObjectsAndKeys: (id)object,
+ see dictionaryWithObjectsAndKeys:
-
+
- (BOOL) isEqualToDictionary: (NSDictionary*)otherDictionary
+
-
+
- (NSEnumerator*) keyEnumerator
+ Return an enumerator object containing all the keys of the dictionary.
-
+
- (NSArray*) keysSortedByValueUsingSelector: (SEL)comparator
+
-
+
- (NSEnumerator*) objectEnumerator
+ Return an enumerator object containing all the keys of the dictionary.
-
+
- (id) objectForKey: (id)aKey
+ Returns the first object which has aKey as key.
-
+
- (NSArray*) objectsForKeys: (NSArray*)keys notFoundMarker: (id)anObject
+
-
+
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)flag
+