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) |
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 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
// | |
// 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
// | |
// 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 | |
// | |
// | |
// 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 | |
// | |
// | |
// Created by Bernstein, Joel on 7/4/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 ContentView: View | |
{ | |
@State var angle: CGFloat = 0 | |
let animation = Animation.linear(duration: 10).repeatForever(autoreverses: false) | |
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 ContentView: View | |
{ | |
@State var angle: CGFloat = 0 | |
let colors: [Color] = [ .red, .orange, .yellow, .green, .blue, .purple ] | |
let columns = [ GridItem(.adaptive(minimum: 140), alignment: .leading) ] | |
let animation = Animation.linear(duration: 10).repeatForever(autoreverses: false) |
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 | |
// BreatheUI WatchKit Extension | |
// | |
// Created by Joel Bernstein on 6/24/19. | |
// Copyright © 2019 Joel Bernstein. All rights reserved. | |
// | |
import SwiftUI |
NewerOlder