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
Error to trace to log to deploy. One click. No SSH. Icon
Error to trace to log to deploy. One click. No SSH.

Catch the cause before the pager goes off.

AppSignal links every error to the trace, the trace to the log, the log to the deploy that shipped it.
Free 30 days.
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