One Logo Pool Ball
Foundation · IOS API REFERENCE

Locale.Region

struct · iOS 16.0+ · SDK 27.1

struct Region

A type that represents a geographic region, for use in specifying a locale or language.

Members (270)

get · iOS 16.0+

curaçao

TypeScript
static get cura_ao(): Locale_Region
Swift declaration
static var curaçao: Locale.Region { get }
get · iOS 16.0+

réunion

TypeScript
static get r_union(): Locale_Region
Swift declaration
static var réunion: Locale.Region { get }
get · iOS 16.0+

côteDIvoire

TypeScript
static get c_teDIvoire(): Locale_Region
Swift declaration
static var côteDIvoire: Locale.Region { get }
get · iOS 16.0+

ålandIslands

TypeScript
static get _landIslands(): Locale_Region
Swift declaration
static var ålandIslands: Locale.Region { get }
get · iOS 16.0+

saintBarthélemy

TypeScript
static get saintBarth_lemy(): Locale_Region
Swift declaration
static var saintBarthélemy: Locale.Region { get }
get · iOS 16.0+

sãoToméPríncipe

TypeScript
static get s_oTom_Pr_ncipe(): Locale_Region
Swift declaration
static var sãoToméPríncipe: Locale.Region { get }
get · iOS 16.0+

containingRegion

TypeScript
get containingRegion(): (Locale_Region) | null
Swift declaration
var containingRegion: Locale.Region? { get }

The region that contains this region, if any. The following example shows how to look up the containing region for the `US` region. ```swift let usRegion = Locale.Region("US") let containingRegion = usRegion.containingRegion //Identifier "021": Northern America ```

get · iOS 16.0+

antarctica

TypeScript
static get antarctica(): Locale_Region
Swift declaration
static var antarctica: Locale.Region { get }
get · iOS 16.0+

azerbaijan

TypeScript
static get azerbaijan(): Locale_Region
Swift declaration
static var azerbaijan: Locale.Region { get }
get · iOS 16.0+

bangladesh

TypeScript
static get bangladesh(): Locale_Region
Swift declaration
static var bangladesh: Locale.Region { get }
get · iOS 16.0+

elSalvador

TypeScript
static get elSalvador(): Locale_Region
Swift declaration
static var elSalvador: Locale.Region { get }
get · iOS 16.0+

guadeloupe

TypeScript
static get guadeloupe(): Locale_Region
Swift declaration
static var guadeloupe: Locale.Region { get }
get · iOS 16.0+

identifier

TypeScript
get identifier(): string
Swift declaration
var identifier: String { get set }

The BCP 47 identifier of the region.

set · iOS 16.0+

identifier

TypeScript
set identifier(value: string)
Swift declaration
var identifier: String { get set }

The BCP 47 identifier of the region.

static · iOS 26.0+

isoRegions

TypeScript
static isoRegionsOfCategory(category: Locale_Region_Category): Array<Locale_Region>
Swift declaration
static func isoRegions(ofCategory category: Locale.Region.Category) -> [Locale.Region]

An array of regions matching the specified categories.

get · iOS 16.0+

isoRegions

TypeScript
static get isoRegions(): Array<Locale_Region>
Swift declaration
static var isoRegions: [Locale.Region] { get }

An array of regions defined by ISO.

get · iOS 16.0+

kazakhstan

TypeScript
static get kazakhstan(): Locale_Region
Swift declaration
static var kazakhstan: Locale.Region { get }
get · iOS 16.0+

kyrgyzstan

TypeScript
static get kyrgyzstan(): Locale_Region
Swift declaration
static var kyrgyzstan: Locale.Region { get }
get · iOS 16.0+

luxembourg

TypeScript
static get luxembourg(): Locale_Region
Swift declaration
static var luxembourg: Locale.Region { get }
get · iOS 16.0+

madagascar

TypeScript
static get madagascar(): Locale_Region
Swift declaration
static var madagascar: Locale.Region { get }
get · iOS 16.0+

martinique

TypeScript
static get martinique(): Locale_Region
Swift declaration
static var martinique: Locale.Region { get }
get · iOS 16.0+

mauritania

TypeScript
static get mauritania(): Locale_Region
Swift declaration
static var mauritania: Locale.Region { get }
get · iOS 16.0+

micronesia

TypeScript
static get micronesia(): Locale_Region
Swift declaration
static var micronesia: Locale.Region { get }
get · iOS 16.0+

montenegro

TypeScript
static get montenegro(): Locale_Region
Swift declaration
static var montenegro: Locale.Region { get }
get · iOS 16.0+

montserrat

TypeScript
static get montserrat(): Locale_Region
Swift declaration
static var montserrat: Locale.Region { get }
get · iOS 16.0+

mozambique

TypeScript
static get mozambique(): Locale_Region
Swift declaration
static var mozambique: Locale.Region { get }
get · iOS 16.0+

newZealand

TypeScript
static get newZealand(): Locale_Region
Swift declaration
static var newZealand: Locale.Region { get }
get · iOS 16.0+

puertoRico

TypeScript
static get puertoRico(): Locale_Region
Swift declaration
static var puertoRico: Locale.Region { get }
get · iOS 16.0+

saintLucia

TypeScript
static get saintLucia(): Locale_Region
Swift declaration
static var saintLucia: Locale.Region { get }
get · iOS 16.0+

seychelles

TypeScript
static get seychelles(): Locale_Region
Swift declaration
static var seychelles: Locale.Region { get }
get · iOS 16.0+

southKorea

TypeScript
static get southKorea(): Locale_Region
Swift declaration
static var southKorea: Locale.Region { get }
get · iOS 16.0+

southSudan

TypeScript
static get southSudan(): Locale_Region
Swift declaration
static var southSudan: Locale.Region { get }
method · iOS 26.0+

subRegions

TypeScript
subRegionsOfCategory(category: Locale_Region_Category): Array<Locale_Region>
Swift declaration
@abi(func subRegions(ofCategoy category: Locale.Region.Category) -> [Locale.Region]) func subRegions(ofCategory category: Locale.Region.Category) -> [Locale.Region]

An array of the sub-regions, matching the specified category of the region.

get · iOS 16.0+

subRegions

TypeScript
get subRegions(): Array<Locale_Region>
Swift declaration
var subRegions: [Locale.Region] { get }

An array of all the sub-regions of the region. The following example looks up the sub-regions of region `021`, which represents North America. ```swift let northAmericaRegion = Locale.Region("021") let subRegions = northAmericaRegion.subRegions //BM, CA, GL, PM, US ``` The returned `subRegions` have the following identifiers: | Identifier | Country | |---|---| | BM | Bermuda | | CA | Canada | | GL | Greenland | | PM | Saint Pierre and Miquelon | | US | United States |

get · iOS 16.0+

tajikistan

TypeScript
static get tajikistan(): Locale_Region
Swift declaration
static var tajikistan: Locale.Region { get }
get · iOS 16.0+

timorLeste

TypeScript
static get timorLeste(): Locale_Region
Swift declaration
static var timorLeste: Locale.Region { get }
get · iOS 16.0+

uzbekistan

TypeScript
static get uzbekistan(): Locale_Region
Swift declaration
static var uzbekistan: Locale.Region { get }
get · iOS 16.0+

afghanistan

TypeScript
static get afghanistan(): Locale_Region
Swift declaration
static var afghanistan: Locale.Region { get }
get · iOS 16.0+

burkinaFaso

TypeScript
static get burkinaFaso(): Locale_Region
Swift declaration
static var burkinaFaso: Locale.Region { get }
get · iOS 16.0+

cookIslands

TypeScript
static get cookIslands(): Locale_Region
Swift declaration
static var cookIslands: Locale.Region { get }
get · iOS 16.0+

diegoGarcia

TypeScript
static get diegoGarcia(): Locale_Region
Swift declaration
static var diegoGarcia: Locale.Region { get }
get · iOS 16.0+

isISORegion

TypeScript
get isISORegion(): boolean
Swift declaration
var isISORegion: Bool { get }

A Boolean value that indicates whether the region is an ISO-defined region.

get · iOS 16.0+

netherlands

TypeScript
static get netherlands(): Locale_Region
Swift declaration
static var netherlands: Locale.Region { get }
get · iOS 16.0+

philippines

TypeScript
static get philippines(): Locale_Region
Swift declaration
static var philippines: Locale.Region { get }
get · iOS 16.0+

saintHelena

TypeScript
static get saintHelena(): Locale_Region
Swift declaration
static var saintHelena: Locale.Region { get }
get · iOS 16.0+

saintMartin

TypeScript
static get saintMartin(): Locale_Region
Swift declaration
static var saintMartin: Locale.Region { get }
get · iOS 16.0+

saudiArabia

TypeScript
static get saudiArabia(): Locale_Region
Swift declaration
static var saudiArabia: Locale.Region { get }
get · iOS 16.0+

sierraLeone

TypeScript
static get sierraLeone(): Locale_Region
Swift declaration
static var sierraLeone: Locale.Region { get }
get · iOS 16.0+

sintMaarten

TypeScript
static get sintMaarten(): Locale_Region
Swift declaration
static var sintMaarten: Locale.Region { get }
get · iOS 16.0+

southAfrica

TypeScript
static get southAfrica(): Locale_Region
Swift declaration
static var southAfrica: Locale.Region { get }
get · iOS 16.0+

switzerland

TypeScript
static get switzerland(): Locale_Region
Swift declaration
static var switzerland: Locale.Region { get }
get · iOS 16.0+

vaticanCity

TypeScript
static get vaticanCity(): Locale_Region
Swift declaration
static var vaticanCity: Locale.Region { get }
get · iOS 16.0+

bouvetIsland

TypeScript
static get bouvetIsland(): Locale_Region
Swift declaration
static var bouvetIsland: Locale.Region { get }
get · iOS 16.0+

ceutaMelilla

TypeScript
static get ceutaMelilla(): Locale_Region
Swift declaration
static var ceutaMelilla: Locale.Region { get }
get · iOS 16.0+

cocosIslands

TypeScript
static get cocosIslands(): Locale_Region
Swift declaration
static var cocosIslands: Locale.Region { get }
get · iOS 16.0+

faroeIslands

TypeScript
static get faroeIslands(): Locale_Region
Swift declaration
static var faroeIslands: Locale.Region { get }
get · iOS 16.0+

frenchGuiana

TypeScript
static get frenchGuiana(): Locale_Region
Swift declaration
static var frenchGuiana: Locale.Region { get }
get · iOS 16.0+

guineaBissau

TypeScript
static get guineaBissau(): Locale_Region
Swift declaration
static var guineaBissau: Locale.Region { get }
get · iOS 16.0+

latinAmerica

TypeScript
static get latinAmerica(): Locale_Region
Swift declaration
static var latinAmerica: Locale.Region { get }
get · iOS 16.0+

newCaledonia

TypeScript
static get newCaledonia(): Locale_Region
Swift declaration
static var newCaledonia: Locale.Region { get }
get · iOS 26.0+

subcontinent

TypeScript
get subcontinent(): (Locale_Region) | null
Swift declaration
var subcontinent: Locale.Region? { get }

The subcontinent that contains this region, if any.

get · iOS 16.0+

turkmenistan

TypeScript
static get turkmenistan(): Locale_Region
Swift declaration
static var turkmenistan: Locale.Region { get }
get · iOS 16.0+

unitedStates

TypeScript
static get unitedStates(): Locale_Region
Swift declaration
static var unitedStates: Locale.Region { get }
get · iOS 16.0+

wallisFutuna

TypeScript
static get wallisFutuna(): Locale_Region
Swift declaration
static var wallisFutuna: Locale.Region { get }
get · iOS 16.0+

americanSamoa

TypeScript
static get americanSamoa(): Locale_Region
Swift declaration
static var americanSamoa: Locale.Region { get }
get · iOS 16.0+

canaryIslands

TypeScript
static get canaryIslands(): Locale_Region
Swift declaration
static var canaryIslands: Locale.Region { get }
get · iOS 16.0+

caymanIslands

TypeScript
static get caymanIslands(): Locale_Region
Swift declaration
static var caymanIslands: Locale.Region { get }
get · iOS 16.0+

chinaMainland

TypeScript
static get chinaMainland(): Locale_Region
Swift declaration
static var chinaMainland: Locale.Region { get }
get · iOS 16.0+

congoKinshasa

TypeScript
static get congoKinshasa(): Locale_Region
Swift declaration
static var congoKinshasa: Locale.Region { get }
get · iOS 16.0+

liechtenstein

TypeScript
static get liechtenstein(): Locale_Region
Swift declaration
static var liechtenstein: Locale.Region { get }
get · iOS 16.0+

norfolkIsland

TypeScript
static get norfolkIsland(): Locale_Region
Swift declaration
static var norfolkIsland: Locale.Region { get }
init · iOS 16.0+

init

TypeScript
static initStringLiteral(value: string): Locale_Region
Swift declaration
init(stringLiteral value: String)

Creates a region from a BCP 47 identifier as a string literal. - Parameter value: A BCP 47 identifier, such as `US` for the United States. This parameter is case-insensitive.

get · iOS 16.0+

unitedKingdom

TypeScript
static get unitedKingdom(): Locale_Region
Swift declaration
static var unitedKingdom: Locale.Region { get }
get · iOS 16.0+

westernSahara

TypeScript
static get westernSahara(): Locale_Region
Swift declaration
static var westernSahara: Locale.Region { get }
get · iOS 16.0+

antiguaBarbuda

TypeScript
static get antiguaBarbuda(): Locale_Region
Swift declaration
static var antiguaBarbuda: Locale.Region { get }
get · iOS 16.0+

northMacedonia

TypeScript
static get northMacedonia(): Locale_Region
Swift declaration
static var northMacedonia: Locale.Region { get }
get · iOS 16.0+

papuaNewGuinea

TypeScript
static get papuaNewGuinea(): Locale_Region
Swift declaration
static var papuaNewGuinea: Locale.Region { get }
get · iOS 16.0+

solomonIslands

TypeScript
static get solomonIslands(): Locale_Region
Swift declaration
static var solomonIslands: Locale.Region { get }
get · iOS 16.0+

trinidadTobago

TypeScript
static get trinidadTobago(): Locale_Region
Swift declaration
static var trinidadTobago: Locale.Region { get }
get · iOS 16.0+

tristanDaCunha

TypeScript
static get tristanDaCunha(): Locale_Region
Swift declaration
static var tristanDaCunha: Locale.Region { get }
get · iOS 16.0+

ascensionIsland

TypeScript
static get ascensionIsland(): Locale_Region
Swift declaration
static var ascensionIsland: Locale.Region { get }
get · iOS 16.0+

christmasIsland

TypeScript
static get christmasIsland(): Locale_Region
Swift declaration
static var christmasIsland: Locale.Region { get }
get · iOS 16.0+

falklandIslands

TypeScript
static get falklandIslands(): Locale_Region
Swift declaration
static var falklandIslands: Locale.Region { get }
get · iOS 16.0+

frenchPolynesia

TypeScript
static get frenchPolynesia(): Locale_Region
Swift declaration
static var frenchPolynesia: Locale.Region { get }
get · iOS 16.0+

marshallIslands

TypeScript
static get marshallIslands(): Locale_Region
Swift declaration
static var marshallIslands: Locale.Region { get }
get · iOS 16.0+

pitcairnIslands

TypeScript
static get pitcairnIslands(): Locale_Region
Swift declaration
static var pitcairnIslands: Locale.Region { get }
get · iOS 16.0+

saintKittsNevis

TypeScript
static get saintKittsNevis(): Locale_Region
Swift declaration
static var saintKittsNevis: Locale.Region { get }
get · iOS 16.0+

clippertonIsland

TypeScript
static get clippertonIsland(): Locale_Region
Swift declaration
static var clippertonIsland: Locale.Region { get }
get · iOS 16.0+

congoBrazzaville

TypeScript
static get congoBrazzaville(): Locale_Region
Swift declaration
static var congoBrazzaville: Locale.Region { get }
get · iOS 17.0+

debugDescription

TypeScript
get debugDescription(): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

get · iOS 16.0+

equatorialGuinea

TypeScript
static get equatorialGuinea(): Locale_Region
Swift declaration
static var equatorialGuinea: Locale.Region { get }
get · iOS 16.0+

svalbardJanMayen

TypeScript
static get svalbardJanMayen(): Locale_Region
Swift declaration
static var svalbardJanMayen: Locale.Region { get }
get · iOS 16.0+

bosniaHerzegovina

TypeScript
static get bosniaHerzegovina(): Locale_Region
Swift declaration
static var bosniaHerzegovina: Locale.Region { get }
get · iOS 16.0+

chagosArchipelago

TypeScript
static get chagosArchipelago(): Locale_Region
Swift declaration
static var chagosArchipelago: Locale.Region { get }
get · iOS 16.0+

dominicanRepublic

TypeScript
static get dominicanRepublic(): Locale_Region
Swift declaration
static var dominicanRepublic: Locale.Region { get }
get · iOS 16.0+

turksCaicosIslands

TypeScript
static get turksCaicosIslands(): Locale_Region
Swift declaration
static var turksCaicosIslands: Locale.Region { get }
get · iOS 16.0+

unitedArabEmirates

TypeScript
static get unitedArabEmirates(): Locale_Region
Swift declaration
static var unitedArabEmirates: Locale.Region { get }
get · iOS 16.0+

saintPierreMiquelon

TypeScript
static get saintPierreMiquelon(): Locale_Region
Swift declaration
static var saintPierreMiquelon: Locale.Region { get }
get · iOS 16.0+

britishVirginIslands

TypeScript
static get britishVirginIslands(): Locale_Region
Swift declaration
static var britishVirginIslands: Locale.Region { get }
get · iOS 16.0+

caribbeanNetherlands

TypeScript
static get caribbeanNetherlands(): Locale_Region
Swift declaration
static var caribbeanNetherlands: Locale.Region { get }
get · iOS 16.0+

heardMcdonaldIslands

TypeScript
static get heardMcdonaldIslands(): Locale_Region
Swift declaration
static var heardMcdonaldIslands: Locale.Region { get }
get · iOS 16.0+

centralAfricanRepublic

TypeScript
static get centralAfricanRepublic(): Locale_Region
Swift declaration
static var centralAfricanRepublic: Locale.Region { get }
get · iOS 16.0+

northernMarianaIslands

TypeScript
static get northernMarianaIslands(): Locale_Region
Swift declaration
static var northernMarianaIslands: Locale.Region { get }
get · iOS 16.0+

palestinianTerritories

TypeScript
static get palestinianTerritories(): Locale_Region
Swift declaration
static var palestinianTerritories: Locale.Region { get }
get · iOS 16.0+

saintVincentGrenadines

TypeScript
static get saintVincentGrenadines(): Locale_Region
Swift declaration
static var saintVincentGrenadines: Locale.Region { get }
get · iOS 16.0+

frenchSouthernTerritories

TypeScript
static get frenchSouthernTerritories(): Locale_Region
Swift declaration
static var frenchSouthernTerritories: Locale.Region { get }
get · iOS 16.0+

unitedStatesVirginIslands

TypeScript
static get unitedStatesVirginIslands(): Locale_Region
Swift declaration
static var unitedStatesVirginIslands: Locale.Region { get }
get · iOS 16.0+

unitedStatesOutlyingIslands

TypeScript
static get unitedStatesOutlyingIslands(): Locale_Region
Swift declaration
static var unitedStatesOutlyingIslands: Locale.Region { get }
get · iOS 16.0+

southGeorgiaSouthSandwichIslands

TypeScript
static get southGeorgiaSouthSandwichIslands(): Locale_Region
Swift declaration
static var southGeorgiaSouthSandwichIslands: Locale.Region { get }
get · iOS 16.0+

chad

TypeScript
static get chad(): Locale_Region
Swift declaration
static var chad: Locale.Region { get }
get · iOS 16.0+

cuba

TypeScript
static get cuba(): Locale_Region
Swift declaration
static var cuba: Locale.Region { get }
get · iOS 16.0+

fiji

TypeScript
static get fiji(): Locale_Region
Swift declaration
static var fiji: Locale.Region { get }
get · iOS 16.0+

guam

TypeScript
static get guam(): Locale_Region
Swift declaration
static var guam: Locale.Region { get }
get · iOS 16.0+

iran

TypeScript
static get iran(): Locale_Region
Swift declaration
static var iran: Locale.Region { get }
get · iOS 16.0+

iraq

TypeScript
static get iraq(): Locale_Region
Swift declaration
static var iraq: Locale.Region { get }
get · iOS 16.0+

laos

TypeScript
static get laos(): Locale_Region
Swift declaration
static var laos: Locale.Region { get }
get · iOS 16.0+

mali

TypeScript
static get mali(): Locale_Region
Swift declaration
static var mali: Locale.Region { get }
get · iOS 16.0+

niue

TypeScript
static get niue(): Locale_Region
Swift declaration
static var niue: Locale.Region { get }
get · iOS 16.0+

oman

TypeScript
static get oman(): Locale_Region
Swift declaration
static var oman: Locale.Region { get }
get · iOS 16.0+

peru

TypeScript
static get peru(): Locale_Region
Swift declaration
static var peru: Locale.Region { get }
get · iOS 16.0+

togo

TypeScript
static get togo(): Locale_Region
Swift declaration
static var togo: Locale.Region { get }
get · iOS 16.0+

aruba

TypeScript
static get aruba(): Locale_Region
Swift declaration
static var aruba: Locale.Region { get }
get · iOS 16.0+

benin

TypeScript
static get benin(): Locale_Region
Swift declaration
static var benin: Locale.Region { get }
get · iOS 16.0+

chile

TypeScript
static get chile(): Locale_Region
Swift declaration
static var chile: Locale.Region { get }
get · iOS 16.0+

egypt

TypeScript
static get egypt(): Locale_Region
Swift declaration
static var egypt: Locale.Region { get }
get · iOS 16.0+

gabon

TypeScript
static get gabon(): Locale_Region
Swift declaration
static var gabon: Locale.Region { get }
get · iOS 16.0+

ghana

TypeScript
static get ghana(): Locale_Region
Swift declaration
static var ghana: Locale.Region { get }
get · iOS 16.0+

haiti

TypeScript
static get haiti(): Locale_Region
Swift declaration
static var haiti: Locale.Region { get }
get · iOS 16.0+

india

TypeScript
static get india(): Locale_Region
Swift declaration
static var india: Locale.Region { get }
get · iOS 16.0+

italy

TypeScript
static get italy(): Locale_Region
Swift declaration
static var italy: Locale.Region { get }
get · iOS 16.0+

japan

TypeScript
static get japan(): Locale_Region
Swift declaration
static var japan: Locale.Region { get }
get · iOS 16.0+

kenya

TypeScript
static get kenya(): Locale_Region
Swift declaration
static var kenya: Locale.Region { get }
get · iOS 16.0+

libya

TypeScript
static get libya(): Locale_Region
Swift declaration
static var libya: Locale.Region { get }
get · iOS 16.0+

macao

TypeScript
static get macao(): Locale_Region
Swift declaration
static var macao: Locale.Region { get }
get · iOS 16.0+

malta

TypeScript
static get malta(): Locale_Region
Swift declaration
static var malta: Locale.Region { get }
get · iOS 16.0+

nauru

TypeScript
static get nauru(): Locale_Region
Swift declaration
static var nauru: Locale.Region { get }
get · iOS 16.0+

nepal

TypeScript
static get nepal(): Locale_Region
Swift declaration
static var nepal: Locale.Region { get }
get · iOS 16.0+

niger

TypeScript
static get niger(): Locale_Region
Swift declaration
static var niger: Locale.Region { get }
get · iOS 16.0+

palau

TypeScript
static get palau(): Locale_Region
Swift declaration
static var palau: Locale.Region { get }
get · iOS 16.0+

qatar

TypeScript
static get qatar(): Locale_Region
Swift declaration
static var qatar: Locale.Region { get }
get · iOS 16.0+

samoa

TypeScript
static get samoa(): Locale_Region
Swift declaration
static var samoa: Locale.Region { get }
get · iOS 16.0+

spain

TypeScript
static get spain(): Locale_Region
Swift declaration
static var spain: Locale.Region { get }
get · iOS 16.0+

tonga

TypeScript
static get tonga(): Locale_Region
Swift declaration
static var tonga: Locale.Region { get }
get · iOS 16.0+

world

TypeScript
static get world(): Locale_Region
Swift declaration
static var world: Locale.Region { get }
get · iOS 16.0+

yemen

TypeScript
static get yemen(): Locale_Region
Swift declaration
static var yemen: Locale.Region { get }
get · iOS 16.0+

angola

TypeScript
static get angola(): Locale_Region
Swift declaration
static var angola: Locale.Region { get }
get · iOS 16.0+

belize

TypeScript
static get belize(): Locale_Region
Swift declaration
static var belize: Locale.Region { get }
get · iOS 16.0+

bhutan

TypeScript
static get bhutan(): Locale_Region
Swift declaration
static var bhutan: Locale.Region { get }
get · iOS 16.0+

brazil

TypeScript
static get brazil(): Locale_Region
Swift declaration
static var brazil: Locale.Region { get }
get · iOS 16.0+

brunei

TypeScript
static get brunei(): Locale_Region
Swift declaration
static var brunei: Locale.Region { get }
get · iOS 16.0+

canada

TypeScript
static get canada(): Locale_Region
Swift declaration
static var canada: Locale.Region { get }
get · iOS 16.0+

cyprus

TypeScript
static get cyprus(): Locale_Region
Swift declaration
static var cyprus: Locale.Region { get }
get · iOS 16.0+

france

TypeScript
static get france(): Locale_Region
Swift declaration
static var france: Locale.Region { get }
get · iOS 16.0+

gambia

TypeScript
static get gambia(): Locale_Region
Swift declaration
static var gambia: Locale.Region { get }
get · iOS 16.0+

greece

TypeScript
static get greece(): Locale_Region
Swift declaration
static var greece: Locale.Region { get }
get · iOS 16.0+

guinea

TypeScript
static get guinea(): Locale_Region
Swift declaration
static var guinea: Locale.Region { get }
get · iOS 16.0+

guyana

TypeScript
static get guyana(): Locale_Region
Swift declaration
static var guyana: Locale.Region { get }
get · iOS 16.0+

israel

TypeScript
static get israel(): Locale_Region
Swift declaration
static var israel: Locale.Region { get }
get · iOS 16.0+

jersey

TypeScript
static get jersey(): Locale_Region
Swift declaration
static var jersey: Locale.Region { get }
get · iOS 16.0+

jordan

TypeScript
static get jordan(): Locale_Region
Swift declaration
static var jordan: Locale.Region { get }
get · iOS 16.0+

kosovo

TypeScript
static get kosovo(): Locale_Region
Swift declaration
static var kosovo: Locale.Region { get }
get · iOS 16.0+

kuwait

TypeScript
static get kuwait(): Locale_Region
Swift declaration
static var kuwait: Locale.Region { get }
get · iOS 16.0+

latvia

TypeScript
static get latvia(): Locale_Region
Swift declaration
static var latvia: Locale.Region { get }
get · iOS 16.0+

malawi

TypeScript
static get malawi(): Locale_Region
Swift declaration
static var malawi: Locale.Region { get }
get · iOS 16.0+

mexico

TypeScript
static get mexico(): Locale_Region
Swift declaration
static var mexico: Locale.Region { get }
get · iOS 16.0+

monaco

TypeScript
static get monaco(): Locale_Region
Swift declaration
static var monaco: Locale.Region { get }
get · iOS 16.0+

norway

TypeScript
static get norway(): Locale_Region
Swift declaration
static var norway: Locale.Region { get }
get · iOS 16.0+

panama

TypeScript
static get panama(): Locale_Region
Swift declaration
static var panama: Locale.Region { get }
get · iOS 16.0+

poland

TypeScript
static get poland(): Locale_Region
Swift declaration
static var poland: Locale.Region { get }
get · iOS 16.0+

russia

TypeScript
static get russia(): Locale_Region
Swift declaration
static var russia: Locale.Region { get }
get · iOS 16.0+

rwanda

TypeScript
static get rwanda(): Locale_Region
Swift declaration
static var rwanda: Locale.Region { get }
get · iOS 16.0+

serbia

TypeScript
static get serbia(): Locale_Region
Swift declaration
static var serbia: Locale.Region { get }
get · iOS 16.0+

sweden

TypeScript
static get sweden(): Locale_Region
Swift declaration
static var sweden: Locale.Region { get }
get · iOS 16.0+

taiwan

TypeScript
static get taiwan(): Locale_Region
Swift declaration
static var taiwan: Locale.Region { get }
get · iOS 16.0+

turkey

TypeScript
static get turkey(): Locale_Region
Swift declaration
static var turkey: Locale.Region { get }
get · iOS 16.0+

tuvalu

TypeScript
static get tuvalu(): Locale_Region
Swift declaration
static var tuvalu: Locale.Region { get }
get · iOS 16.0+

uganda

TypeScript
static get uganda(): Locale_Region
Swift declaration
static var uganda: Locale.Region { get }
get · iOS 16.0+

zambia

TypeScript
static get zambia(): Locale_Region
Swift declaration
static var zambia: Locale.Region { get }
get · iOS 16.0+

albania

TypeScript
static get albania(): Locale_Region
Swift declaration
static var albania: Locale.Region { get }
get · iOS 16.0+

algeria

TypeScript
static get algeria(): Locale_Region
Swift declaration
static var algeria: Locale.Region { get }
get · iOS 16.0+

andorra

TypeScript
static get andorra(): Locale_Region
Swift declaration
static var andorra: Locale.Region { get }
get · iOS 16.0+

armenia

TypeScript
static get armenia(): Locale_Region
Swift declaration
static var armenia: Locale.Region { get }
get · iOS 16.0+

austria

TypeScript
static get austria(): Locale_Region
Swift declaration
static var austria: Locale.Region { get }
get · iOS 16.0+

bahamas

TypeScript
static get bahamas(): Locale_Region
Swift declaration
static var bahamas: Locale.Region { get }
get · iOS 16.0+

bahrain

TypeScript
static get bahrain(): Locale_Region
Swift declaration
static var bahrain: Locale.Region { get }
get · iOS 16.0+

belarus

TypeScript
static get belarus(): Locale_Region
Swift declaration
static var belarus: Locale.Region { get }
get · iOS 16.0+

belgium

TypeScript
static get belgium(): Locale_Region
Swift declaration
static var belgium: Locale.Region { get }
get · iOS 16.0+

bermuda

TypeScript
static get bermuda(): Locale_Region
Swift declaration
static var bermuda: Locale.Region { get }
get · iOS 16.0+

bolivia

TypeScript
static get bolivia(): Locale_Region
Swift declaration
static var bolivia: Locale.Region { get }
get · iOS 16.0+

burundi

TypeScript
static get burundi(): Locale_Region
Swift declaration
static var burundi: Locale.Region { get }
get · iOS 16.0+

comoros

TypeScript
static get comoros(): Locale_Region
Swift declaration
static var comoros: Locale.Region { get }
get · iOS 16.0+

croatia

TypeScript
static get croatia(): Locale_Region
Swift declaration
static var croatia: Locale.Region { get }
get · iOS 16.0+

czechia

TypeScript
static get czechia(): Locale_Region
Swift declaration
static var czechia: Locale.Region { get }
get · iOS 16.0+

denmark

TypeScript
static get denmark(): Locale_Region
Swift declaration
static var denmark: Locale.Region { get }
get · iOS 16.0+

ecuador

TypeScript
static get ecuador(): Locale_Region
Swift declaration
static var ecuador: Locale.Region { get }
get · iOS 16.0+

eritrea

TypeScript
static get eritrea(): Locale_Region
Swift declaration
static var eritrea: Locale.Region { get }
get · iOS 16.0+

estonia

TypeScript
static get estonia(): Locale_Region
Swift declaration
static var estonia: Locale.Region { get }
get · iOS 16.0+

finland

TypeScript
static get finland(): Locale_Region
Swift declaration
static var finland: Locale.Region { get }
get · iOS 16.0+

georgia

TypeScript
static get georgia(): Locale_Region
Swift declaration
static var georgia: Locale.Region { get }
get · iOS 16.0+

germany

TypeScript
static get germany(): Locale_Region
Swift declaration
static var germany: Locale.Region { get }
get · iOS 16.0+

grenada

TypeScript
static get grenada(): Locale_Region
Swift declaration
static var grenada: Locale.Region { get }
get · iOS 16.0+

hungary

TypeScript
static get hungary(): Locale_Region
Swift declaration
static var hungary: Locale.Region { get }
get · iOS 16.0+

iceland

TypeScript
static get iceland(): Locale_Region
Swift declaration
static var iceland: Locale.Region { get }
get · iOS 16.0+

ireland

TypeScript
static get ireland(): Locale_Region
Swift declaration
static var ireland: Locale.Region { get }
get · iOS 16.0+

jamaica

TypeScript
static get jamaica(): Locale_Region
Swift declaration
static var jamaica: Locale.Region { get }
get · iOS 16.0+

lebanon

TypeScript
static get lebanon(): Locale_Region
Swift declaration
static var lebanon: Locale.Region { get }
get · iOS 16.0+

lesotho

TypeScript
static get lesotho(): Locale_Region
Swift declaration
static var lesotho: Locale.Region { get }
get · iOS 16.0+

liberia

TypeScript
static get liberia(): Locale_Region
Swift declaration
static var liberia: Locale.Region { get }
get · iOS 16.0+

mayotte

TypeScript
static get mayotte(): Locale_Region
Swift declaration
static var mayotte: Locale.Region { get }
get · iOS 16.0+

moldova

TypeScript
static get moldova(): Locale_Region
Swift declaration
static var moldova: Locale.Region { get }
get · iOS 16.0+

morocco

TypeScript
static get morocco(): Locale_Region
Swift declaration
static var morocco: Locale.Region { get }
get · iOS 16.0+

myanmar

TypeScript
static get myanmar(): Locale_Region
Swift declaration
static var myanmar: Locale.Region { get }
get · iOS 16.0+

namibia

TypeScript
static get namibia(): Locale_Region
Swift declaration
static var namibia: Locale.Region { get }
get · iOS 16.0+

nigeria

TypeScript
static get nigeria(): Locale_Region
Swift declaration
static var nigeria: Locale.Region { get }
get · iOS 16.0+

romania

TypeScript
static get romania(): Locale_Region
Swift declaration
static var romania: Locale.Region { get }
get · iOS 16.0+

senegal

TypeScript
static get senegal(): Locale_Region
Swift declaration
static var senegal: Locale.Region { get }
get · iOS 16.0+

somalia

TypeScript
static get somalia(): Locale_Region
Swift declaration
static var somalia: Locale.Region { get }
get · iOS 16.0+

tokelau

TypeScript
static get tokelau(): Locale_Region
Swift declaration
static var tokelau: Locale.Region { get }
get · iOS 16.0+

tunisia

TypeScript
static get tunisia(): Locale_Region
Swift declaration
static var tunisia: Locale.Region { get }
get · iOS 16.0+

ukraine

TypeScript
static get ukraine(): Locale_Region
Swift declaration
static var ukraine: Locale.Region { get }
get · iOS 16.0+

unknown

TypeScript
static get unknown(): Locale_Region
Swift declaration
static let unknown: Locale.Region

A pre-defined unknown or invalid region.

get · iOS 16.0+

uruguay

TypeScript
static get uruguay(): Locale_Region
Swift declaration
static var uruguay: Locale.Region { get }
get · iOS 16.0+

vanuatu

TypeScript
static get vanuatu(): Locale_Region
Swift declaration
static var vanuatu: Locale.Region { get }
get · iOS 16.0+

vietnam

TypeScript
static get vietnam(): Locale_Region
Swift declaration
static var vietnam: Locale.Region { get }
get · iOS 16.0+

anguilla

TypeScript
static get anguilla(): Locale_Region
Swift declaration
static var anguilla: Locale.Region { get }
get · iOS 16.0+

barbados

TypeScript
static get barbados(): Locale_Region
Swift declaration
static var barbados: Locale.Region { get }
get · iOS 16.0+

botswana

TypeScript
static get botswana(): Locale_Region
Swift declaration
static var botswana: Locale.Region { get }
get · iOS 16.0+

bulgaria

TypeScript
static get bulgaria(): Locale_Region
Swift declaration
static var bulgaria: Locale.Region { get }
get · iOS 16.0+

cambodia

TypeScript
static get cambodia(): Locale_Region
Swift declaration
static var cambodia: Locale.Region { get }
get · iOS 16.0+

cameroon

TypeScript
static get cameroon(): Locale_Region
Swift declaration
static var cameroon: Locale.Region { get }
get · iOS 26.0+

category

TypeScript
get category(): (Locale_Region_Category) | null
Swift declaration
var category: Locale.Region.Category? { get }

The category of the region.

get · iOS 16.0+

colombia

TypeScript
static get colombia(): Locale_Region
Swift declaration
static var colombia: Locale.Region { get }
get · iOS 16.0+

djibouti

TypeScript
static get djibouti(): Locale_Region
Swift declaration
static var djibouti: Locale.Region { get }
get · iOS 16.0+

dominica

TypeScript
static get dominica(): Locale_Region
Swift declaration
static var dominica: Locale.Region { get }
get · iOS 16.0+

eswatini

TypeScript
static get eswatini(): Locale_Region
Swift declaration
static var eswatini: Locale.Region { get }
get · iOS 16.0+

ethiopia

TypeScript
static get ethiopia(): Locale_Region
Swift declaration
static var ethiopia: Locale.Region { get }
get · iOS 16.0+

guernsey

TypeScript
static get guernsey(): Locale_Region
Swift declaration
static var guernsey: Locale.Region { get }
get · iOS 16.0+

honduras

TypeScript
static get honduras(): Locale_Region
Swift declaration
static var honduras: Locale.Region { get }
get · iOS 16.0+

hongKong

TypeScript
static get hongKong(): Locale_Region
Swift declaration
static var hongKong: Locale.Region { get }
get · iOS 16.0+

kiribati

TypeScript
static get kiribati(): Locale_Region
Swift declaration
static var kiribati: Locale.Region { get }
get · iOS 16.0+

malaysia

TypeScript
static get malaysia(): Locale_Region
Swift declaration
static var malaysia: Locale.Region { get }
get · iOS 16.0+

maldives

TypeScript
static get maldives(): Locale_Region
Swift declaration
static var maldives: Locale.Region { get }
get · iOS 16.0+

mongolia

TypeScript
static get mongolia(): Locale_Region
Swift declaration
static var mongolia: Locale.Region { get }
get · iOS 16.0+

pakistan

TypeScript
static get pakistan(): Locale_Region
Swift declaration
static var pakistan: Locale.Region { get }
get · iOS 16.0+

paraguay

TypeScript
static get paraguay(): Locale_Region
Swift declaration
static var paraguay: Locale.Region { get }
get · iOS 16.0+

portugal

TypeScript
static get portugal(): Locale_Region
Swift declaration
static var portugal: Locale.Region { get }
get · iOS 16.0+

slovakia

TypeScript
static get slovakia(): Locale_Region
Swift declaration
static var slovakia: Locale.Region { get }
get · iOS 16.0+

slovenia

TypeScript
static get slovenia(): Locale_Region
Swift declaration
static var slovenia: Locale.Region { get }
get · iOS 16.0+

sriLanka

TypeScript
static get sriLanka(): Locale_Region
Swift declaration
static var sriLanka: Locale.Region { get }
get · iOS 16.0+

suriname

TypeScript
static get suriname(): Locale_Region
Swift declaration
static var suriname: Locale.Region { get }
get · iOS 16.0+

tanzania

TypeScript
static get tanzania(): Locale_Region
Swift declaration
static var tanzania: Locale.Region { get }
get · iOS 16.0+

thailand

TypeScript
static get thailand(): Locale_Region
Swift declaration
static var thailand: Locale.Region { get }
get · iOS 16.0+

zimbabwe

TypeScript
static get zimbabwe(): Locale_Region
Swift declaration
static var zimbabwe: Locale.Region { get }
get · iOS 16.0+

argentina

TypeScript
static get argentina(): Locale_Region
Swift declaration
static var argentina: Locale.Region { get }
get · iOS 16.0+

australia

TypeScript
static get australia(): Locale_Region
Swift declaration
static var australia: Locale.Region { get }
get · iOS 16.0+

capeVerde

TypeScript
static get capeVerde(): Locale_Region
Swift declaration
static var capeVerde: Locale.Region { get }
get · iOS 16.0+

continent

TypeScript
get continent(): (Locale_Region) | null
Swift declaration
var continent: Locale.Region? { get }

The continent that contains this region, if any. This value can be `nil` when the system can't determine the appropriate continent, such as when the region isn't an ISO region.

get · iOS 16.0+

costaRica

TypeScript
static get costaRica(): Locale_Region
Swift declaration
static var costaRica: Locale.Region { get }
get · iOS 16.0+

gibraltar

TypeScript
static get gibraltar(): Locale_Region
Swift declaration
static var gibraltar: Locale.Region { get }
get · iOS 16.0+

greenland

TypeScript
static get greenland(): Locale_Region
Swift declaration
static var greenland: Locale.Region { get }
get · iOS 16.0+

guatemala

TypeScript
static get guatemala(): Locale_Region
Swift declaration
static var guatemala: Locale.Region { get }
get · iOS 16.0+

indonesia

TypeScript
static get indonesia(): Locale_Region
Swift declaration
static var indonesia: Locale.Region { get }
get · iOS 16.0+

isleOfMan

TypeScript
static get isleOfMan(): Locale_Region
Swift declaration
static var isleOfMan: Locale.Region { get }
get · iOS 16.0+

lithuania

TypeScript
static get lithuania(): Locale_Region
Swift declaration
static var lithuania: Locale.Region { get }
get · iOS 16.0+

mauritius

TypeScript
static get mauritius(): Locale_Region
Swift declaration
static var mauritius: Locale.Region { get }
get · iOS 16.0+

nicaragua

TypeScript
static get nicaragua(): Locale_Region
Swift declaration
static var nicaragua: Locale.Region { get }
get · iOS 16.0+

sanMarino

TypeScript
static get sanMarino(): Locale_Region
Swift declaration
static var sanMarino: Locale.Region { get }
get · iOS 16.0+

singapore

TypeScript
static get singapore(): Locale_Region
Swift declaration
static var singapore: Locale.Region { get }
get · iOS 16.0+

venezuela

TypeScript
static get venezuela(): Locale_Region
Swift declaration
static var venezuela: Locale.Region { get }
init · iOS 16.0+

init

TypeScript
static init(identifier: string): Locale_Region
Swift declaration
init(_ identifier: String)

Creates a region from a BCP 47 identifier. - Parameter identifier: A two-letter BCP 47 region subtag such as "US" for the United States. Case-insensitive.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →