One Logo Pool Ball
Foundation · IOS API REFERENCE

Locale.Region.Category

struct · iOS 26.0+ · SDK 27.1

struct Category

Categories of a region. See https://www.unicode.org/reports/tr35/tr35-35/tr35-info.html#Territory_Data

Members (6)

get · iOS 26.0+

subcontinent

TypeScript
static get subcontinent(): Locale_Region_Category
Swift declaration
static let subcontinent: Locale.Region.Category

Category representing a sub-continent, regions contained directly by a continent.

get · iOS 26.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 26.0+

world

TypeScript
static get world(): Locale_Region_Category
Swift declaration
static let world: Locale.Region.Category

Category representing the whold world.

get · iOS 26.0+

grouping

TypeScript
static get grouping(): Locale_Region_Category
Swift declaration
static let grouping: Locale.Region.Category

Category representing a grouping, regions that has a well defined membership.

get · iOS 26.0+

continent

TypeScript
static get continent(): Locale_Region_Category
Swift declaration
static let continent: Locale.Region.Category

Category representing a continent, regions contained directly by world.

get · iOS 26.0+

territory

TypeScript
static get territory(): Locale_Region_Category
Swift declaration
static let territory: Locale.Region.Category

Category representing a territory.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →