Skip to content

FelixLinBH/FLSlideView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLSlideView

Version License Platform

It provides a silde view with viewcontroller.

How To Use

Import header

#import "SlideView.h"

Create silde view with viewController

Use this method

- (instancetype)initWithRootView:(UIViewController *)rootViewController viewController:(UIViewController *)viewController slideSubView:(UIView *)slideSubView

Provide direction property

@property (nonatomic, assign) SlideViewControllerDirection direction;

It provide delegate:

- (void)slideViewDidSlide:(SlideView *)silderView;
- (void)slideViewDidRollback:(SlideView *)silderView;
- (void)rootViewController:(UIViewController *)rootViewController didShowSlideViewController:(UIViewController *)slideViewController;
- (void)rootViewController:(UIViewController *)rootViewController didDismissSlideViewController:(UIViewController *)slideViewController;

Screen shot

Editor preferences pane

Installation

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

pod "FLSlideView"

Example

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

##Dependency

Author

Felix.lin

License

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

About

Slide with ViewController.

Resources

License

Stars

Watchers

Forks

Packages

No packages published