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
| // | |
| // ContentView.swift | |
| // Shared | |
| // | |
| // Created by Bernstein, Joel on 7/15/20. | |
| // | |
| import SwiftUI | |
| struct ContentView: 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
| // | |
| // ContentView.swift | |
| // ScrollViewTest | |
| // | |
| // Created by Bernstein, Joel on 7/21/20. | |
| // | |
| import SwiftUI | |
| struct ContentView: 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 SwiftUI | |
| struct ListTestView: View { | |
| @State private var users = ["Paul", "Taylor", "Adele"] | |
| var body: some View { | |
| NavigationView { | |
| List { | |
| ForEach(users, id: \.self) { user in | |
| Text(user) |
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 RegularEventCell: View { | |
| let color: Color | |
| let title: String | |
| let description: String? | |
| var body: some 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 SwiftUI | |
| struct NewStopView: View { | |
| let stop: Model.Stop | |
| var body: some View { | |
| Text("New Layout").font(.title) | |
| RouteLayout(spacing: 8) { | |
| ForEach(stop.routes ?? []) { route in | |
| RouteView(route: route) |
OlderNewer