Skip to content

abellono/NavigationBarSelectorPageViewController

Repository files navigation

Navigation Bar Selector View Controller

Version License Platform

demo gif

A subclass of UIPageViewController that displays a view in the navigation bar that indicates what view controller's view the user is currently looking at. The selection bar animates nicely in sync with the user's horizontal scrolling in the page controller. The appearence is highly adjustable, as most of the properties are public.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

The example project illustrates how to set up the page view controller.

Installation

NJHNavigationBarSelectorPageViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NJHNavigationBarSelectorPageViewController"

Author

Hakon Hanesand, [email protected] Nikolai Heum, [email protected]

License

NJHNavigationBarSelectorPageViewController is available under the MIT license. See the LICENSE file for more info.