Country
public struct Country : Equatable
Country information.
-
Initializer.
Throws
An error of the typeInitializationError.Declaration
Swift
public init( code: String, name: TextWithPhonetics ) throwsParameters
codeISO 3166-1 alpha-3 code of the country.
nameCountry name.
-
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
-
Errors that can be thrown during creation
See moreDeclaration
Swift
public enum InitializationError : Error
Country Structure Reference