This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # EDIT THIS CODE TO YOUR SPECIFIC NEEDS | |
| # THIS CODE REQUIRES SPECIFIC HTML CODE TO BE PLACED | |
| # INSIDE THE TEMPLATE EXAMPLE FOUND BELOW | |
| from flask import Flask, flash | |
| def some_method(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func whereIsMySQLite() { | |
| let path = FileManager | |
| .default | |
| .urls(for: .applicationSupportDirectory, in: .userDomainMask) | |
| .last? | |
| .absoluteString | |
| .replacingOccurrences(of: "file://", with: "") | |
| .removingPercentEncoding | |
| print(path ?? "Not found") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct RowView: View { | |
| var coin: Coins | |
| var body: some View { | |
| HStack(alignment: .bottom) { | |
| Spacer() | |
| Text("\((dynamicDrecimalFormat(dynamicDrecimal: Double(coin.paymentThreshold))))") | |
| Text(coin.symbol ?? "") | |
| .font(.footnote) | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct RowView: View { | |
| var coin: Coins | |
| var body: some View { | |
| VStack() { | |
| let _ = print("\((Double("\(coin.paymentThreshold)")!.dynamicDrecimalFormat())) ") | |
| HStack(alignment: .bottom) { | |
| Spacer() | |
| Text("\((Double("\(coin.paymentThreshold)")!.dynamicDrecimalFormat())) ") |
OlderNewer