Skip to content

Enumeration

Locale.LanguageCode.IdentifierType

iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
Types of ISO 639 language code.
enum IdentifierType

Topics

Enumeration Cases

  • case alpha2
    Two-letter alpha-2 code, e.g. “en” for English
  • case alpha3
    Three-letter alpha-3 code, e.g. “eng” for English

Relationships

Conforms To

  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype