SwipeableTabBarController
UITabBarController with swipe interaction between its tabs.
Installation
CocoaPods
SwipeableTabBarController is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod "SwipeableTabBarController"
Manual
Drop the classes inside of SwipeableTabBarController/Classes into your project.
Usage
If you don't need subclassing UITabBarController
just set the UITabBarController
on the Storyboard to be of type SwipeableTabBarController
.
Otherwise, make a subclass of SwipeableTabBarController
.
Example:
import SwipeableTabBarController
class TabBarController: SwipeableTabBarController {
// Do all your subclassing as a regular UITabBarController.
}