juliensagot
Follow
Software Engineer & Human Interface Designer.
Pinned Loading
-
uikit-blur-view
uikit-blur-view PublicHigh-performance blur effect for UIKit, similar to SwiftUI’s blur modifier.
-
SwiftUI variable blur view
SwiftUI variable blur view 1import Foundation
2import SwiftUI
3import UIKit
45extension UIBlurEffect {
-
Custom ButtonStyle boilerplate that ...
Custom ButtonStyle boilerplate that doesn't take ages to update its `isPressed` state when using spring animations 1struct ResponsiveButtonStyle: PrimitiveButtonStyle {
2// Use this instead of `Configuration.isPressed`.
3@State private var isPressed = false
45func makeBody(configuration: Configuration) -> some View {
-
ConditionalEnvironmentOverlay
ConditionalEnvironmentOverlay 1private struct ConditionalEnvironmentOverlay<Value: Equatable, OverlayContent: View>: ViewModifier {
2@Environment(\.self) private var environmentValues
34private let keyPath: KeyPath<EnvironmentValues, Value>
5private let value: Value
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.