A custom UINavigationController that enables the scrolling of the navigation bar alongside the scrolling of an observed content view. If you are looking for the category implementation in Objective-C, make sure to checkout version 1.x and prior, although the 2.x is recomended. Make sure to use ScrollingNavigationController instead of the standard UINavigationController. Either set the class of your UINavigationController in your storyboard, or create programmatically a ScrollingNavigationController instance in your code. Use followScrollView(_: delay:) to start following the scrolling of a scrollable view (e.g.: a UIScrollView or UITableView). To DRY things up you can let your view controller subclass ScrollingNavigationViewController, which provides the base setup implementation. You will just need to call followScrollView(_: delay:): To move another view, like a toolbar, alongside the navigation bar you can provide the view or multiple views as the followers parameter.

Features

  • Change scrolling speed
  • Setup with Carthage
  • Setup with CocoaPods
  • Scroll the navigation bar out of the way
  • Set a delegate to receive a call when the state of the navigation bar changes
  • Check out the sample project for more details

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow AMScrollingNavbar

AMScrollingNavbar Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AMScrollingNavbar!

Additional Project Details

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2021-09-13