Mercurial > public > simoleon
view Simoleon/Models/CurrencyQuoteModel.swift @ 16:aec2e86e5dbd
Change design and icon
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Thu, 15 Jul 2021 19:03:24 +0100 |
parents | a62e5e4a4f02 |
children | 4a81e39186f1 |
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: Float? var bid: Float? var ask: Float? var timeStamp: Int? private enum CodingKeys: String, CodingKey { case symbol = "s" case price = "p" case bid = "b" case ask = "a" case timeStamp = "t" } }