Contents

localizedString(forVariantCode:)

Returns a localized string for a specified variant code.

Declaration

func localizedString(forVariantCode variantCode: String) -> String?

Discussion

For example, in the “en” locale, the result for "POSIX" is "Computer".

See Also

Getting display information about a locale