Country
public struct Country
extension Country: Equatable
Country information.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init( code: String, name: TextWithPhonetics ) throwsParameters
codeISO 3166-1 alpha-3 code of the country.
nameCountry name.
ThrowsAn error of type
CountryError.
-
ISO 3166-1 alpha-3 code of the country.
Declaration
Swift
public let code: String -
Name of the country.
Declaration
Swift
public let name: TextWithPhonetics
Country Structure Reference