Contents

setCustomPronoun:forLanguage:error:

Sets a custom pronoun behavior for this morphology to apply to the given language.

Declaration

- (BOOL) setCustomPronoun:(NSMorphologyCustomPronoun *) features forLanguage:(NSString *) language error:(NSError **) error;

Parameters

  • features:

    A Nsmorphologycustompronoun instance for the morphology to use.

  • language:

    The language the morphology applies the custom pronoun to.

  • error:

    On return, any error encountered while setting the custom pronoun, or nil if no error occurred.

Return Value

A Boolean value that indicates whether setting the custom pronoun succeeded.

Discussion

This method throws if the system doesn’t support custom pronouns for the given language, or if any of the required pronoun keys aren’t set.

See Also

Related Documentation

Accessing Per-Language Features