Skip to content

xf8/MXSegmentedPager

 
 

Repository files navigation

MXSegmentedPager

CI Status Version License Platform Dependency Status

MXSegmentedPager is a pager view using HMSegmentedControl as control. The integration of VGParallaxHeader allows you to add an parallax header on top while keeping a reliable scrolling effect.

Simple view Parallax view
Demo Demo

Highlight

  • HMSegmentedControl is a very customizable control.
  • VGParallaxHeader supports any kind of view with different modes.
  • Reliable vertical scroll with any view hierarchy.
  • Lazily load pages.
  • Supports reusable page registration.
  • Can load view-controller from storyboard using a custom segue.
  • Fully documented.

Usage

If you want to try it, simply run:

pod try MXSegmentedPager

Or clone the repo and run pod install from the Example directory first.

  • See MXSimpleViewController for a standard implementation.
  • See MXParallaxViewController to implement a pager with a parallax header.
  • See MXExampleViewController for a MXSegmentedPagerController subclass example.

Installation

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

pod 'MXSegmentedPager'

Documentation

Documentation is available through CocoaDocs.

Author

Maxime Epain

Twitter

License

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

About

Segmented pager view with Parallax header

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 91.0%
  • Swift 7.3%
  • Ruby 1.7%