26 lines
710 B
Swift
26 lines
710 B
Swift
// https://carrascomolina.com
|
|
import SwiftUI
|
|
import SwiftData
|
|
|
|
// workshop bewerten
|
|
// https://ratings.gfu.cloud/ratings/060e902f506dcc090be15da9d2f3f86610bdd641c776af3cf25fc1a70cd688d0
|
|
@main
|
|
struct TheSwiftWeek: App {
|
|
var train = Train(name: "RE3412", color: Color.yellow, delay: 2 ){ Bike.trek}
|
|
var train2 = Train(name: "RE1423", delay: 1){ Bike(name: "Bulls", price: 199.90, color: Color.indigo )}
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
|
|
|
|
|
|
// ContentView()
|
|
DataView()
|
|
//OpenURLView()
|
|
// ContentView()
|
|
|
|
|
|
}.modelContainer(for: Unicycle.self)
|
|
}
|
|
}
|
|
|