Instance Method

dictionaryForKey:

Returns the dictionary object associated with the specified key.

Declaration

- (NSDictionary<NSString *,id> *)dictionaryForKey:(NSString *)aKey;

Parameters

aKey

A key in the key-value store.

Return Value

The dictionary object associated with the specified key or nil if the key was not found or its value is not an NSDictionary object.

See Also

Getting Values

- arrayForKey:

Returns the array associated with the specified key.

- boolForKey:

Returns the Boolean value associated with the specified key.

- dataForKey:

Returns the data object associated with the specified key.

- doubleForKey:

Returns the double value associated with the specified key.

- longLongForKey:

Returns the long long value associated with the specified key.

- objectForKey:

Returns the object associated with the specified key.

- stringForKey:

Returns the string associated with the specified key.

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