Improved documentation on a couple of NSDictionary methods

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26303 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nicola 2008-03-14 17:13:41 +00:00
parent f77071d0b6
commit cf1a0d7780
2 changed files with 12 additions and 4 deletions

View file

@ -449,8 +449,9 @@ static SEL appSel;
/**
* Initialises a dictionary created using the list given as argument.
* The list is alternately composed of objects and keys.
* Thus, the list's length must be pair.
* The list is alternately composed of objects and keys and
* terminated by nil. Thus, the list's length must be even,
* followed by nil.
*/
- (id) initWithObjectsAndKeys: (id)firstObject, ...
{
@ -461,8 +462,9 @@ static SEL appSel;
/**
* Returns a dictionary created using the list given as argument.
* The list is alternately composed of objects and keys.
* Thus, the list's length must be pair.
* The list is alternately composed of objects and keys and
* terminated by nil. Thus, the list's length must be even,
* followed by nil.
*/
+ (id) dictionaryWithObjectsAndKeys: (id)firstObject, ...
{