Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/endoumari/tabpageviewcontroller
Paging view controller and scroll tab view
https://github.com/endoumari/tabpageviewcontroller
infinity-mode ios tab ui uipageviewcontroller
Last synced: 30 days ago
JSON representation
Paging view controller and scroll tab view
- Host: GitHub
- URL: https://github.com/endoumari/tabpageviewcontroller
- Owner: EndouMari
- License: mit
- Created: 2016-03-19T06:55:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T18:00:07.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T17:41:56.949Z (30 days ago)
- Topics: infinity-mode, ios, tab, ui, uipageviewcontroller
- Language: Swift
- Homepage:
- Size: 192 KB
- Stars: 1,388
- Watchers: 29
- Forks: 221
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TabPageViewController
[![License](https://img.shields.io/cocoapods/l/TabPageViewController.svg?style=flat)](http://cocoapods.org/pods/TabPageViewController)
[![Language](https://img.shields.io/badge/language-swift-orange.svg?style=flat)](https://developer.apple.com/swift)
[![Version](https://img.shields.io/cocoapods/v/TabPageViewController.svg?style=flat)](http://cocoapods.org/pods/TabPageViewController)
[![Platform](https://img.shields.io/cocoapods/p/TabPageViewController.svg?style=flat)](http://cocoapods.org/pods/TabPageViewController)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![CocoaPods](https://img.shields.io/cocoapods/dt/TabPageViewController.svg)]()
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift#utility)## 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
```swift
let tabPageViewController = TabPageViewController.create()
let vc1 = UIViewController()
let vc2 = UIViewController()tabPageViewController.tabItems = [(vc1, "First"), (vc2, "Second")]
TabPageOption.currentColor = UIColor.redColor()
```
Infinity Mode
```swift
let tabPageViewController = TabPageViewController.create()
tabPageViewController.isInfinity = true
```## Requirements
iOS13+
## Installation
### Using CocoaPods
```ruby
use_frameworks!
pod "TabPageViewController"
```### Using Carthage
```ruby
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.