TabPageViewController

Paging view controller and scroll tab view

Github stars Tracking Chart

TabPageViewController

License
Language
Version
Platform
Carthage compatible
CocoaPods
Awesome

Description

TabPageViewController is paging view controller and scroll tab view.

Screenshot

Infinity Mode

Limited Mode

Customization

Use TabPageOption

  • fontSize for tab item

fontSize: CGFloat

  • currentColor for current tab item

currentColor: UIColor

  • defaultColor for tab item

defaultColor: UIColor

  • tabHeight for tab view

tabHeight: CGFloat

  • tabMargin for tab item

tabMargin: CGFloat

  • tabBackgroundColor for tab view

tabBackgroundColor: UIColor

  • currentBarHeight for current bar view

currentBarHeight: CGFloat

  • pageBackgoundColor for tab page viewcontroller

pageBackgoundColor: UIColor

  • isTranslucent for tab view and navigation bar

isTranslucent: Bool

  • hides tabbar on swipe

hidesTabBarOnSwipe: Bool

Usage

import TabPageViewController to use TabPageViewController in your file.

Example

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

Requirements

iOS8+

Installation

Using CocoaPods

use_frameworks!
pod "TabPageViewController"

Using Carthage

github "EndouMari/TabPageViewController"

Manually

Copy all the files in Pod/Classes directory into your project.

Author

EndouMari

License

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

Main metrics

Overview
Name With OwnerEndouMari/TabPageViewController
Primary LanguageSwift
Program languageRuby (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2016-03-19 06:55:16
Pushed At2022-01-13 18:00:07
Last Commit At2022-01-14 03:00:04
Release Count11
Last Release Name0.2.8 (Posted on )
First Release Name0.1.0 (Posted on )
用户参与
Stargazers Count1.4k
Watchers Count29
Fork Count222
Commits Count89
Has Issues Enabled
Issues Count58
Issue Open Count34
Pull Requests Count37
Pull Requests Open Count10
Pull Requests Close Count11
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private