mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
* move swift examples * swift workflow * fixup * rewirte gettingStarted * add README for swift * update fiat examples and addresss feedback
14 lines
324 B
Swift
14 lines
324 B
Swift
// The Swift Programming Language
|
|
// https://docs.swift.org/swift-book
|
|
|
|
print("Hello, tester!")
|
|
if let sdk = try gettingStarted(){
|
|
if let fiarRates = getFiatCurrencyAndRates(sdk: sdk) {
|
|
for fiat in fiarRates {
|
|
print("rate \(fiat)\n")
|
|
print("------------------------")
|
|
}
|
|
}
|
|
}
|
|
|