Paging view controller and scroll tab view
TabPageViewController is paging view controller and scroll tab view.
Screenshot
Infinity Mode
Limited Mode
Use TabPageOption
fontSize: CGFloat
currentColor: UIColor
defaultColor: UIColor
tabHeight: CGFloat
tabMargin: CGFloat
tabBackgroundColor: UIColor
currentBarHeight: CGFloat
pageBackgoundColor: UIColor
isTranslucent: Bool
hidesTabBarOnSwipe: Bool
import TabPageViewController
to use TabPageViewController in your file.
let tabPageViewController = TabPageViewController.create()
let vc1 = UIViewController()
let vc2 = UIViewController()
tabPageViewController.tabItems = [(vc1, "First"), (vc2, "Second")]
TabPageOption.currentColor = UIColor.redColor()
Infinity Mode
let tabPageViewController = TabPageViewController.create()
tabPageViewController.isInfinity = true
iOS13+
use_frameworks!
pod "TabPageViewController"
github "EndouMari/TabPageViewController"
Copy all the files in Pod/Classes
directory into your project.
EndouMari
TabPageViewController is available under the MIT license. See the LICENSE file for more info.