# Methods

`-objectForKey:`
`-setObject`
  adds an entry to the dictionary
`-setObject:forKey:`
  adds an entry to the dictionary

### objectForKey:

>     - objectForKey: (id <NSCoding>) aKey

##### Parameter Descriptions

> `aKey`
>   key to look for

method result
  retrieve the object for the specified key or nil if not existent

### setObject

adds an entry to the dictionary

See Also:

> setObject:forKey:

>     - setObject: (id <NSCoding>) anObject forKey: (id <NSCoding>) aKey;

##### Parameter Descriptions

> `anObject`
>   object to put for the given key
> `aKey`
>   underlying key

##### Discussion

If an object for the given key already exists then it will be dropped

### setObject:forKey:

adds an entry to the dictionary

See Also:

> setObject

>     - setObject: (id <NSCoding>) anObject forKey: (id <NSCoding>) aKey;

##### Parameter Descriptions

> `anObject`
>   object to put for the given key
> `aKey`
>   underlying key

##### Discussion

If an object for the given key already exists then it will be dropped

(Last Updated August 27, 2006)