Contents

uppercased(with:)

Returns a version of the string with all letters converted to uppercase, taking into account the specified locale.

Declaration

func uppercased(with locale: Locale?) -> String

Parameters

  • locale:

    The locale. For strings presented to users, pass the current locale ([Nslocale Current]). To use the system locale, pass nil.

Return Value

An uppercase string using the locale.

See Also

Changing Case