Instance Method

objectForKey:

Returns the value of the component corresponding to the specified key.

Declaration

- (id)objectForKey:(NSLocaleKey)key;

Parameters

key

The component for which to return the corresponding value. For possible values, see NSLocaleKey.

Return Value

The object corresponding to key.

See Also

Accessing Locale Information by Key

- displayNameForKey:value:

Returns the display name for the given locale component value.

NSLocaleKey

The keys used to access components of a locale.