Skip to content

Instantly share code, notes, and snippets.

import SwiftUI
struct ContentView: View {
@State private var isPresentingA: Bool = false
@State private var isPresentingB: Bool = false
var body: some View {
NavigationStack {
Text("Hello, World!")
.toolbar {
//
// Created by Axel Le Pennec on 26/01/2022.
// Copyright © 2022 Axel Le Pennec. All rights reserved.
//
import Foundation
import WeatherKit
public enum DayNightTime {
case day
@alpennec
alpennec / BottomSheet.swift
Last active November 18, 2022 18:04
For Christian
import SwiftUI
struct ContentView: View {
@State var show: Bool = false
var body: some View {
ZStack {
Button {
withAnimation(.easeInOut(duration: 3)) {
show.toggle()