欢迎光临
我们一直在努力

[Swift]TabPageViewController

建站超值云服务器,限时71元/月

[Swift]TabPageViewController

项目介绍:

Usage

import TabPageViewController to use TabPageViewController in your file.

Example
[Objective-C] 查看源文件 复制代码

let tabPageViewController = TabPageViewController.create()
let vc1 = UIViewController()
let vc2 = UIViewController()

tabPageViewController.tabItems = [(vc1, "First"), (vc2, "Second")]

TabPageOption.currentColor = UIColor.redColor()


Infinity Mode

[Objective-C] 查看源文件 复制代码

let tabPageViewController = TabPageViewController.create()
tabPageViewController.isInfinity = true


Requirements

iOS8+

InstallationUsing CocoaPods
[Objective-C] 查看源文件 复制代码

use_frameworks!
pod "TabPageViewController"


Using Carthage
[Objective-C] 查看源文件 复制代码

github "EndouMari/TabPageViewController"

Customization

Use TabPageOption

  • fontSize for tab item

fontSize: CGFloat

  • currentColor for current tab item

currentColor: UIColor

  • defaultColor for tab item

defaultColor: UIColor

  • tabBarAlpha for tab view

tabBarAlpha: CGFloat

  • tabHeight for tab view

tabHeight: CGFloat

  • tabMargin for tab item

tabMargin: CGFloat

  • tabBackgroundColor for tab view

tabBackgroundColor: UIColor

  • pageBackgoundColor for tab page viewcontroller

pageBackgoundColor: UIColor

DEMO 直接下载:


赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » [Swift]TabPageViewController
分享到: 更多 (0)