A side-scrolling view controller container class with a minimal, UITabBarController-like API.
- Add BKSlidingViewController to your Podfile.
- In your terminal, run
pod install
.
- Add
#import <BKSlidingViewController/BKSlidingViewController.h>
to your application delegate class. - In your
application:didFinishLaunchingWithOptions:
method, create and configure an instance ofBKSlidingViewController
with your desired view controllers and initial selected index. - Set the
rootViewController
property on yourUIWindow
to your instance ofBKSlidingViewController
.