Type Method

localeWithLocaleIdentifier:

Returns a locale initialized using the given locale identifier.

Declaration

+ (instancetype)localeWithLocaleIdentifier:(NSString *)ident;

Parameters

string

The identifier for the new locale.

Return Value

The initialized locale.

See Also

Initializing a Locale

- initWithLocaleIdentifier:

Initializes a locale using a given locale identifier.

- initWithCoder:

Returns a locale initialized from data in the given unarchiver.