Country
public struct Country : Equatable
Country information.
-
Creates a
Countryinstance.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
TomTom SDK for iOS (0.71.1)
Country