NSDictionary

Undocumented in source but is binding to Objective-C. You might be able to learn more by searching the web for its name.

Members

Functions

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.

count
NSUInteger count()

The number of entries in the dictionary.

objectForKey
NSObject objectForKey(NSObject )

Returns the value associated with a given key.

valueForKey
NSObject valueForKey(NSString )

Returns the value associated with a given key.

Static functions

dictionary
NSDictionary dictionary()

Creates an empty dictionary.

Inherited Members

From NSObject

alloc
NSObject alloc()
Undocumented in source.
initialize
NSObject initialize()
Undocumented in source.
retain
NSObject retain()

Increments the receiver’s reference count.

new_
NSObject new_()

Allocates a new instance of the receiving class, sends it an init message, and returns the initialized object.

release
void release()

Decrements the receiver’s reference count.

dealloc
void dealloc()

Deallocates the memory occupied by the receiver.

autorelease
NSObject autorelease()

Decrements the receiver’s retain count at the end of the current autorelease pool block.

Meta