This file contains 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 UIKit | |
protocol IView: AnyObject where Self: UIView { | |
func viewDidLoad() | |
func viewWillAppear(_ animated: Bool) | |
func viewDidAppear(_ animated: Bool) | |
func viewWillDisappear(_ animated: Bool) | |
func viewDidDisappear(_ animated: Bool) | |
} |
This file contains 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
// | |
// Copyright (c) Nathan Tannar | |
// | |
import SwiftUI | |
import Engine // https://github.com/nathantannar4/Engine | |
import Turbocharger // https://github.com/nathantannar4/Turbocharger | |
import Transmission // https://github.com/nathantannar4/Transmission | |
#if os(iOS) |
This file contains 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 ContentView: View { | |
@State var counter: Int = 0 | |
var body: some View { | |
VStack(spacing: 24) { | |
Image(systemName: "exclamationmark.triangle.fill") | |
.font(Font.system(size: 50)) |
OlderNewer