Instance Method

initWithLocalizedStrings:

Initializes a CSLocalizedString object with the specified dictionary of localized strings.

Declaration

- (instancetype)initWithLocalizedStrings:(NSDictionary *)localizedStrings;

Parameters

localizedStrings

A dictionary in which each key-value pair consists of a language designator and a localized string. For example, you might pass in a dictionary like @{@"en":@"Email Message"}.

Return Value

An object that contains the localized versions for a specific string.

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