Instance Method

enumerateKeysAndObjectsUsingBlock:

Applies a given block object to the entries of the dictionary.

Declaration

- (void)enumerateKeysAndObjectsUsingBlock:(void (^)(KeyType key, ObjectType obj, BOOL *stop))block;

Parameters

block

A block object to operate on entries in the dictionary.

Discussion

If the block sets *stop to YES, the enumeration stops.

See Also

Enumerating Dictionaries

- keyEnumerator

Provides an enumerator to access the keys in the dictionary.

- objectEnumerator

Returns an enumerator object that lets you access each value in the dictionary.

- enumerateKeysAndObjectsWithOptions:usingBlock:

Applies a given block object to the entries of the dictionary, with options specifying how the enumeration is performed.

- countByEnumeratingWithState:objects:count:

Returns by reference a C array of objects over which the sender should iterate.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software