NSMutableDictionary

A dynamic collection of objects associated with unique keys.

Members

Functions

setObject
void setObject(NSObject , NSObject )

Adds a given key-value pair to the dictionary.

setValue
void setValue(NSObject , NSString )

Adds a given key-value pair to the dictionary.

Static functions

dictionary
NSMutableDictionary dictionary()
Undocumented in source.
dictionaryWithCapacity
NSMutableDictionary dictionaryWithCapacity(NSUInteger )

Creates and returns a mutable dictionary, initially giving it enough allocated memory to hold a given number of entries.

Inherited Members

From NSDictionary

dictionary
NSDictionary dictionary()

Creates an empty dictionary.

count
NSUInteger count()

The number of entries in the dictionary.

allKeys
NSArray allKeys()

A new array containing the dictionary’s keys, or an empty array if the dictionary has no entries.

allValues
NSArray allValues()

A new array containing the dictionary’s values, or an empty array if the dictionary has no entries.

objectForKey
NSObject objectForKey(NSObject )

Returns the value associated with a given key.

valueForKey
NSObject valueForKey(NSString )

Returns the value associated with a given key.

Meta