A simple iOS Swift view that follows UIScrollView scrolling, enabling dynamic UI elements like search bars and profile headers.
ScrollingFollowView is an iOS library written in Swift that enables any UIView to follow the scrolling of a UIScrollView. It solves the problem of creating dynamic, scroll-responsive UI elements—like search bars that hide on scroll down and reappear on scroll up—without manual scroll offset calculations. Developers can attach views to scroll events with configurable follow points, delays, and animation controls.
iOS developers building apps with scrollable interfaces who need UI components like sticky headers, hiding navigation bars, or bottom buttons that react to scroll gestures. It's particularly useful for those using AutoLayout and InterfaceBuilder.
Developers choose ScrollingFollowView for its simplicity and focused functionality—it handles scroll-following logic with minimal boilerplate code. Unlike generic animation libraries, it's purpose-built for UIScrollView integration, offering features like delay points and half-display management out of the box.
ScrollingFollowView is a simple view which follows UIScrollView scrolling.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Handles view movement in sync with UIScrollView scrolling, eliminating manual offset calculations with configurable min/max follow points.
Provides show/hide methods with customizable duration and completion handlers, allowing fine-tuned animations as shown in the advanced use examples.
Includes delay points to set thresholds for hiding/showing during scroll, preventing UI flickering in rapid scroll scenarios.
Offers options to allow or disallow partial visibility, with auto-animation to full or hidden states for smoother transitions.
Currently requires AutoLayout with InterfaceBuilder for setup, limiting flexibility for code-only developers, as admitted in the README's future improvements.
Primarily designed for vertical scrolling; horizontal support is listed as a future improvement but not yet implemented.
Needs explicit calls in UIScrollView delegate methods like scrollViewDidScroll, adding boilerplate code and potential for setup errors.
Lacks features like constraint-free management or UITabBarController integration, with the README noting these as planned but not available.