A custom UINavigationController that enables the navigation bar to scroll alongside a UIScrollView in iOS apps.
AMScrollingNavbar is a Swift library that creates a scrollable UINavigationBar that collapses and expands in sync with a UIScrollView, such as a UITableView or UICollectionView. It solves the problem of limited screen space in iOS apps by hiding the navigation bar as users scroll down and revealing it when they scroll up, similar to behaviors seen in apps like Safari or Twitter.
iOS developers building apps with scrollable content who want to implement dynamic navigation bar interactions to improve user experience and maximize content visibility.
Developers choose AMScrollingNavbar because it provides a ready-to-use, customizable solution with smooth animations, support for follower views, and easy integration via CocoaPods or Carthage, saving time compared to building such functionality from scratch.
Scrollable UINavigationBar that follows the scrolling of a UIScrollView
Delivers native-feeling collapse and expand animations that enhance user experience, as demonstrated in the project's GIF screenshot.
Allows additional UI elements like toolbars or tab bars to move in sync with the navigation bar, maximizing screen real estate efficiently.
Provides control over delay, scroll speed factor, and additional offset for fine-tuning scrolling behavior to match specific app needs.
Supports both Swift and Objective-C with maintained versions for different Swift syntax updates, easing migration and adoption.
Forces the use of ScrollingNavigationController instead of standard UINavigationController, which can conflict with other custom navigation setups and increase integration complexity.
Requires calling navBarTintUpdated() after changing UINavigationBar.tintColor, adding unnecessary boilerplate and potential for visual bugs if forgotten.
Demands careful implementation in viewWillDisappear to show the navbar and handle followers, increasing setup complexity and risk of errors.
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
A UI/UX framework for creating beautiful applications.
A collection of awesome loading animations
Powerful and easy-to-use vector graphics Swift library with SVG support
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.