Contents

init(language:)

Creates a language components instance from an existing language instance.

Declaration

init(language: Locale.Language)

Parameters

  • language:

    A Language Swift.struct instance. This initializer copies over the language code, script, and region from the provided language.

See Also

Creating a language components instance