How to Create a Scroll‑Style Minute Slider in SwiftUI
Автор: SuCodee
Загружено: 2025-07-06
Просмотров: 1212
Learn how to build a smooth, physics-inspired minute picker in SwiftUI — complete with drag gestures, snapping animation, elastic overshoot, and haptic feedback. This isn’t just another UI component — it feels amazing to use.
Source code : https://www.patreon.com/posts/how-to-...
In this step-by-step tutorial, we’ll walk through:
Building a custom scroll-style slider
Handling drag gestures with live feedback
Adding rubber-band resistance at the edges
Snapping values into place with spring animation
Using .sensoryFeedback() for subtle haptics
Clean, reusable SwiftUI code — explained like we’re coding together
The VoiceOver has been created with AI
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: