lxt

LxTabBarController

Inherited from UITabBarController. LxTabBarController add a powerful gesture that you can switch view controller by sweeping screen from left to right or right to left.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

227

Maintenance

Last Commit

4yrs ago

Contributors

5

Package

Dependencies

0

License

Apache

Categories

Readme

LxTabBarController

Inherited from UITabBarController. To change UITabBarController interactive mode, LxTabBarController add a powerful gesture that you can switch view controller by sweeping screen from left to right or right to left.
  • demo

Installation

You only need drag LxTabBarController.h and LxTabBarController.m to your project.

Podfile

pod 'LxTabBarController', '~> 1.0.0'

Support

Minimum support iOS version: iOS 7.0

Usage

Use LxTabBarController as same as UITabBarController.

    ViewController * vc1 = [[ViewController alloc]init];
    UINavigationController * nc1 = [[UINavigationController alloc]initWithRootViewController:vc1];
    
    ViewController * vc2 = [[ViewController alloc]init];
    UINavigationController * nc2 = [[UINavigationController alloc]initWithRootViewController:vc2];
    
    ViewController * vc3 = [[ViewController alloc]init];
    UINavigationController * nc3 = [[UINavigationController alloc]initWithRootViewController:vc3];
    
    ViewController * vc4 = [[ViewController alloc]init];
    UINavigationController * nc4 = [[UINavigationController alloc]initWithRootViewController:vc4];
    
    LxTabBarController * tabBarController = [[LxTabBarController alloc]init];
    tabBarController.viewControllers = @[nc1,nc2,nc3,nc4];

BE CAREFUL!

The gesture for switching tab has risk to cause conflict to other gestures, you can set tabBarController.panToSwitchGestureRecognizerEnabled = NO to forbid it.

License

LxTabBarController is available under the Apache License 2.0. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial