Latest 1.0.0
Homepage https://github.com/waterflowseast/EHSlideView
License MIT
Platforms ios 7.0
Dependencies YYCache
Authors

[![CI Status](http://img.shields.io/travis/Eric Huang/EHSlideView.svg?style=flat)](https://travis-ci.org/Eric Huang/EHSlideView)
Version
License
Platform

Summary

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;

Screenshots

EHSlideView
EHSlideView

Example

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

Requirements

iOS 7.0+

Installation

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

pod "EHSlideView"

Author

Eric Huang, [email protected]

License

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

Latest podspec

{
    "name": "EHSlideView",
    "version": "1.0.0",
    "summary": "a view you can slide between controllers' view.",
    "homepage": "https://github.com/waterflowseast/EHSlideView",
    "screenshots": [
        "https://github.com/waterflowseast/EHSlideView/raw/master/screenshots/1.png",
        "https://github.com/waterflowseast/EHSlideView/raw/master/screenshots/2.png"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Eric Huang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/waterflowseast/EHSlideView.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "EHSlideView/Classes/**/*",
    "dependencies": {
        "YYCache": [
            "~> 1.0.4"
        ]
    }
}

Pin It on Pinterest

Share This