Mercurial > public > simoleon
view Simoleon/Models/CurrencyPair.swift @ 160:0c589138a6f3
Implement Conversion Box
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 29 Aug 2021 19:04:34 +0100 |
parents | Simoleon/Models/CurrencyPairModel.swift@84137052813d |
children |
line wrap: on
line source
// // CurrencyPair.swift // Simoleon // // Created by Dennis Concepción Martín on 26/8/21. // import Foundation class CurrencyPair: ObservableObject { /* Forex pair -> XXX/YYY Where XXX is the base currency, and YYY the quote currency */ @Published var baseSymbol = "USD" @Published var quoteSymbol = "EUR" }