Skip to content

Instantly share code, notes, and snippets.

View NeitherCupid139's full-sized avatar
🎯
Focusing

Creed Zhong NeitherCupid139

🎯
Focusing
View GitHub Profile
@MojtabaHs
MojtabaHs / README.md
Created December 3, 2025 07:24
Reddit - SwiftUI - Comments - 1oimat1
@DabbyNdubisi
DabbyNdubisi / NavigationAllowedDismissalGesturesModifier.swift
Last active February 19, 2026 08:36
Control Interactive Dismissal of Navigation Zoom Transition SwiftUI
import SwiftUI
import UIKit
import Foundation
// MARK: - AllowedNavigationDismissalGestures
public struct AllowedNavigationDismissalGestures: OptionSet, Sendable {
public let rawValue: Int
public init(rawValue: Int) {
@Saadnajmi
Saadnajmi / Ripple.tsx
Created December 29, 2024 06:31
Ripple Effect Shader with react-native-skia
import { Canvas, Circle, Group, Rect, Shader, Skia, useClock, RuntimeShader, SkRuntimeEffect, RoundedRect } from "@shopify/react-native-skia";
import { SafeAreaView, StyleSheet } from "react-native";
import { useDerivedValue, useSharedValue } from "react-native-reanimated";
import { Gesture, GestureDetector, GestureHandlerRootView } from 'react-native-gesture-handler';
const styles = StyleSheet.create({
centered: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
@skhavari
skhavari / Camera.swift
Last active December 14, 2025 04:17
Bare bones camera view with radial dial
//
//
// Created by Sam Khavari on 12/6/24.
//
import SwiftUI
struct Camera: View {
var body: some View {
VStack(spacing: 0) {
@dkun7944
dkun7944 / ContentView.swift
Created July 31, 2023 03:36
AirDrop iOS 17 Swift.Shader Animation
//
// ContentView.swift
// Airdrop Demo
//
// Created by Daniel Kuntz on 7/30/23.
//
import SwiftUI
struct ContentView: View {