Mercurial > public > simoleon
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Simoleon/Models/CurrencyPair.swift Sun Aug 29 19:04:34 2021 +0100 @@ -0,0 +1,18 @@ +// +// 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" +}