git
ask
hub
Privacy
Terms
Sign in with GitHub
aydahnizzy/calendar-drag-interaction
↗
Stars ·
5
Language ·
Swift
Simplify and Visualize This Repo
Scan the safety of this repo
Self Host this repo
Check out more work of Developer: aydahnizzy
Ask anything about this repo to start.
I'm building a SwiftUI calendar view where events can be dragged to new time slots. Show me how to implement snapping to 15-minute intervals using the six-rule drag pattern.
My SwiftUI draggable event jumps on the second drag. Walk me through separating basePosition from liveOffset to fix it.
How do I disable ScrollView scrolling while a drag gesture is active in SwiftUI on iOS 18?
Show me the minimal parent-owns-state drag template from calendar-drag-interaction adapted for horizontal dragging.
Why does attaching .animation(value:) to a drag-driven SwiftUI view cause spring fighting, and how do I fix it?
Full explanation on explaingit →
📎
Send
By chatting or signing in you agree to the
Terms
and chat-message logging (revocable in
History
).