This file contains 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
// | |
// MovingDashPhaseButton.swift | |
// CoreSwiftUI | |
// | |
// Created by Amos Gyamfi on 24.8.2024. | |
// | |
import SwiftUI | |
struct MovingDashPhaseButton: View { |
This file contains 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
# This file is the main file for the FastHTML package. | |
# It imports all the necessary modules and classes. | |
from fasthtml.common import * | |
# Create app and router instances | |
# rt helps to connect url paths to the functions that will be executed | |
app, rt = fast_app() | |
# Define a route decorator | |
@rt('/') # Define a route for the root path or home route |
This file contains 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
// | |
// BreathRotateWiggle.swift | |
// CoreSwiftUI | |
import SwiftUI | |
struct BreathRotateWiggle: View { | |
@State private var breathe = false | |
@State private var rotate = false | |
@State private var wiggle = false |
This file contains 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
// | |
// VideoPlayerView.swift | |
// OpenvisionOS | |
// | |
// Created by Amos Gyamfi on 7.2.2024. | |
// | |
import SwiftUI | |
import AVKit |
This file contains 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 AnimationCompletion: View { | |
@State private var yOffset = 0.0 | |
var body: some View { | |
Button { | |
moveUpAndBack() | |
} label: { | |
Text("😍") |
This file contains 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
// | |
// MeshGradientColorMixView.swift | |
// OpenSwiftUIDesigns | |
// | |
// Created by Amos Gyamfi on 14.6.2024. | |
// | |
import SwiftUI | |
struct MeshGradientColorMixView: View { |
This file contains 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
// | |
// ColorHarmony.swift | |
// CoreSwiftUI | |
// | |
// Created by Amos Gyamfi on 18.6.2024. | |
// | |
import SwiftUI | |
struct ColorHarmony: View { |
This file contains 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
// | |
// BreathRotateWiggle.swift | |
// CoreSwiftUI | |
// | |
// Created by Amos Gyamfi on 16.6.2024. | |
// | |
import SwiftUI | |
struct BreathRotateWiggle: View { |
This file contains 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
// | |
// MeshGradientOverview.swift | |
// | |
// Created by Amos Gyamfi on 14.6.2024. | |
// | |
import SwiftUI | |
struct MeshGradientOverview: View { | |
@State private var isAnimating = false |
This file contains 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
// | |
// DateAndTimeInterval.swift | |
// SwiftUIDevTips | |
// | |
// TimeInterval is the length of time in seconds | |
// | |
import SwiftUI | |
struct DateAndTimeInterval: View { |
NewerOlder