object(forKey:)
Returns the value of the component corresponding to the specified key.
Declaration
func object(forKey key: NSLocale.Key) -> Any?Parameters
- key:
The component for which to return the corresponding value. For possible values, see Key.
Return Value
The object corresponding to key.