Contents

locale(_:)

Modifies the person name components format style to use the specified locale.

Declaration

func locale(_ locale: Locale) -> PersonNameComponents.FormatStyle

Parameters

  • locale:

    The locale to use when formatting person name components.

Return Value

A person name components format style with the provided locale.

See Also

Modifying a Format Style