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 private var isPresentingA: Bool = false | |
@State private var isPresentingB: Bool = false | |
var body: some View { | |
NavigationStack { | |
Text("Hello, World!") | |
.toolbar { |
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
// | |
// 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 |
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 show: Bool = false | |
var body: some View { | |
ZStack { | |
Button { | |
withAnimation(.easeInOut(duration: 3)) { | |
show.toggle() |