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
| // | |
| // ContentView.swift | |
| // | |
| // | |
| // Created by Bernstein, Joel on 7/4/20. | |
| // | |
| import SwiftUI | |
| struct ElementModel: Identifiable |
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
| // | |
| // Settings.swift | |
| // Settings | |
| // | |
| // Created by Jordan Singer on 2/20/21. | |
| // | |
| import SwiftUI | |
| struct Settings: View { |
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
| import Foundation | |
| import Combine | |
| enum APIError: Error, LocalizedError { | |
| case unknown, apiError(reason: String), parserError(reason: String) | |
| var errorDescription: String? { | |
| switch self { | |
| case .unknown: | |
| return "Unknown error" |
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
| import Foundation | |
| import Combine | |
| enum APIError: Error, LocalizedError { | |
| case unknownError | |
| case unknownURL | |
| case unknownData | |
| case parserError(reason: String) | |
| case apiError(reason: String) |
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
| # configure.ac | |
| # add an --enable-macos-universal-binary flag that when building for mac | |
| # create a universal x86_64 / arm64 binary | |
| AC_ARG_ENABLE([macos-universal-binary], | |
| [AS_HELP_STRING([--enable-macos-universal-binary], | |
| [Create an universal x86_64+arm64 binary when building for macos)])],, | |
| [enable_macos_universal_binary=no]) | |
| # Determine if we're building for macos/darwin by checking for macos & darwin |
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
| import SwiftUI | |
| struct HeaderView: View { | |
| var body: some View { | |
| HStack { | |
| Image(systemName: "info.circle.fill") | |
| .resizable() | |
| .frame(width: 12, height: 12) | |
| Text("Section Header") | |
| .font(.system(size: 13)) |
OlderNewer