Slide to Unlock
summary
A custom iOS “slide to unlock” gets built on top of UIKit instead of a GitHub library, claiming it takes about 160 lines of code and about the same time as choosing a third‑party package. Implementation uses UISlider hooks, a shimmer gradient mask over a label, thumb/track rect math, RTL fixes and a snap‑back animation. The component includes VoiceOver actions and IB preview so it works in practice and is maintainable.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:25Agenda
- 1:38Third Party Libraries
- 3:08Example
- 3:37Requirements
- 5:38Comparison
- 7:13Customization
- 16:50Code Walkthrough
- 21:54Conclusion
related talks
38mBuilding Responsive Interactions
06mEXIT 8 for SwiftUI
32mThe Art & Science of SwiftUI Animated Experiences
05mWrite iOS Game Once and Play in Any Way
27mReusable UI components with SwiftUI
32mHow to Improve Your iOS App With Quick Wins: Big Benefits of Little Changes
18mPrototyping Custom UI in SwiftUI
21mWhat's new in iOS 17, 16, 15, etc.
