Mercurial > public > simoleon
view Simoleon/Models/CurrencyQuoteModel.swift @ 17:4a81e39186f1 v1.0
Minor UI changes
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Thu, 15 Jul 2021 20:24:13 +0100 |
parents | aec2e86e5dbd |
children | 8afba86ab8dd |
line wrap: on
line source
// // CurrencyQuoteModel.swift // Simoleon // // Created by Dennis Concepción Martín on 15/07/2021. // import SwiftUI struct CurrencyQuoteModel: Codable, Hashable { var symbol: String? var price: Double? var bid: Double? var ask: Double? var timeStamp: Int? private enum CodingKeys: String, CodingKey { case symbol = "s" case price = "p" case bid = "b" case ask = "a" case timeStamp = "t" } }