TabPageViewController

Paging view controller and scroll tab view

Github星跟蹤圖

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.

主要指標

概覽
名稱與所有者EndouMari/TabPageViewController
主編程語言Swift
編程語言Ruby (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2016-03-19 06:55:16
推送於2022-01-13 18:00:07
最后一次提交2022-01-14 03:00:04
發布數11
最新版本名稱0.2.8 (發布於 )
第一版名稱0.1.0 (發布於 )
用户参与
星數1.4k
關注者數29
派生數222
提交數89
已啟用問題?
問題數58
打開的問題數34
拉請求數37
打開的拉請求數10
關閉的拉請求數11
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?