Contents

requiredKeysForLanguage:

Returns a collection of the custom pronoun keys required by this language.

Declaration

+ (NSArray<NSString *> *) requiredKeysForLanguage:(NSString *) language;

Parameters

  • language:

    The language to create a custom pronoun for.

Return Value

The keys required for the given language.

Discussion

If any of the required keys for a given language are unset, calling setCustomPronoun:forLanguage:error: for that language with an incomplete NSMorphologyCustomPronoun results in an error.

See Also

Assessing Custom Pronoun Support