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.