Instance Propertyswift 6.0.3FoundationEssentials
languageCode
- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
var languageCode: Locale.LanguageCode?
var languageCode: Locale.LanguageCode?
s20FoundationEssentials6LocaleV8LanguageV10ComponentsV12languageCodeAC0dG0VSgvp
What are these?8NE9V
import FoundationEssentials
struct Components
struct Locale
Locale
encapsulates information about linguistic, cultural, and technological conventions and standards. Examples of information encapsulated by a locale include the symbol used for the decimal separator in numbers and the way dates are formatted.
struct Language
struct LanguageCode
init(from decoder: any Decoder) throws
init(languageCode: Locale.LanguageCode? = nil, script: Locale.Script? = nil, region: Locale.Region? = nil)
var identifier: String { get }
var region: Locale.Region?
var script: Locale.Script?