[![CI Status](http://img.shields.io/travis/Eric Huang/EHSlideView.svg?style=flat)](https://travis-ci.org/Eric Huang/EHSlideView)
a view you can slide between controllers' view.
dataSource:
- (NSUInteger)numberOfControllersInSlideView:(EHSlideView *)slideView;
- (UIViewController *)slideView:(EHSlideView *)slideView controllerAtIndex:(NSInteger)index;
delegate:
- (void)slideView:(EHSlideView *)slideView currentIndex:(NSInteger)currentIndex slidingToDirection:(EHSlideViewSlideDirection)direction percentage:(CGFloat)percentage;
- (void)slideView:(EHSlideView *)slideView currentIndex:(NSInteger)currentIndex willAutomaticallySlideToDirection:(EHSlideViewSlideDirection)direction;
- (void)slideView:(EHSlideView *)slideView currentIndex:(NSInteger)currentIndex willAutomaticallySlideBackFromDirection:(EHSlideViewSlideDirection)direction;
- (void)slideView:(EHSlideView *)slideView didSlideToIndex:(NSInteger)index;
To run the example project, clone the repo, and run pod install
from the Example directory first.
iOS 7.0+
EHSlideView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "EHSlideView"
Eric Huang, WaterFlowsEast@gmail.com
EHSlideView is available under the MIT license. See the LICENSE file for more info.