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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It 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