Creating a Fluid Scroll Experience on iOS
Article Summary
ClassPass engineers faced a deceptively simple challenge: build an Apple Maps-style draggable list. The first attempt looked perfect—until users tried the continuous scroll.
Ray Kim from ClassPass Engineering shares the technical journey of redesigning their iOS search experience. The goal was to help users browse studios more intuitively with a fluid map-to-list interaction.
Key Takeaways
- First implementation using UIScrollView failed on continuous scroll gestures
- Apple's pan gesture handling blocks parent-to-child scroll transitions mid-swipe
- Solution: vanilla UIView container with custom UIPanGestureRecognizer targets
- Capturing internal scroll offset enables seamless container-to-list transitions
Critical Insight
Achieving Apple Maps-quality scroll interactions required abandoning UIScrollView entirely for a custom gesture-based approach that manually coordinates container and list movements.