TinkMoneyManagerUI Documentation Beta

Structure Market

public struct Market: Hashable, RawRepresentable, ExpressibleByStringLiteral

Represents a market by a two-letter country code.

ISO 3166-1 alpha-2

Market Market Comparable Comparable Market->Comparable ExpressibleByStringLiteral ExpressibleByStringLiteral Market->ExpressibleByStringLiteral RawRepresentable RawRepresentable Market->RawRepresentable Hashable Hashable Market->Hashable

Conforms To

Comparable
ExpressibleByStringLiteral
Hashable
RawRepresentable

Initializers

init?(raw​Value:​)

public init?(rawValue: String)

init(string​Literal:​)

public init(stringLiteral value: String)

init(code:​)

public init(code value: String)

Creates a market.

Parameters

value String

The ISO 3166-1 alpha-2 formatted country code.

Properties

raw​Value

let rawValue: String

code

var code: String

An ISO 3166-1 alpha-2 formatted country code.

Methods

<(lhs:​rhs:​)

public static func <(lhs: Market, rhs: Market) -> Bool