Mercurial > public > simoleon
comparison 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 |
comparison
equal
deleted
inserted
replaced
159:35628bac01f5 | 160:0c589138a6f3 |
---|---|
1 // | |
2 // CurrencyPair.swift | |
3 // Simoleon | |
4 // | |
5 // Created by Dennis Concepción Martín on 26/8/21. | |
6 // | |
7 | |
8 import Foundation | |
9 | |
10 class CurrencyPair: ObservableObject { | |
11 /* | |
12 Forex pair -> XXX/YYY | |
13 Where XXX is the base currency, and YYY the quote currency | |
14 */ | |
15 | |
16 @Published var baseSymbol = "USD" | |
17 @Published var quoteSymbol = "EUR" | |
18 } |