Instance Propertyswift 6.0.3FoundationEssentials
region
- iOS
- 16+
- macOS
- 13+
- tvOS
- 16+
- watchOS
- 9+
var region: Locale.Region?
var region: Locale.Region?
s20FoundationEssentials6LocaleV8LanguageV10ComponentsV6regionAC6RegionVSgvp
What are these?3K7DT
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 Region
init(from decoder: any Decoder) throws
init(languageCode: Locale.LanguageCode? = nil, script: Locale.Script? = nil, region: Locale.Region? = nil)
var identifier: String { get }
var languageCode: Locale.LanguageCode?
var script: Locale.Script?