Latest 0.2.7
Homepage https://github.com/EndouMari/TabPageViewController
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

License
Language
Version
Platform
Carthage compatible
[CocoaPods]()
Awesome

Description

TabPageViewController

TabPageViewController is paging view controller and scroll tab view.

Screenshot

Infinity Mode

TabPageViewController

Limited Mode

TabPageViewController


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, [email protected]

License

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

Latest podspec

{
    "name": "TabPageViewController",
    "version": "0.2.7",
    "summary": "Custom UIPageViewController",
    "description": "UIPageViewController and Tab",
    "homepage": "https://github.com/EndouMari/TabPageViewController",
    "license": "MIT",
    "authors": {
        "EndouMari": "[email protected]"
    },
    "source": {
        "git": "https://github.com/EndouMari/TabPageViewController.git",
        "tag": "0.2.7"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Sources/*.swift",
    "resources": "Sources/*.{xib,storyboard}",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This