Popularity
4.2
Stable
Activity
0.0
Stable
233
9
43

Code Quality Rank: L4
Programming language: Swift
License: MIT License
Tags: UI     Tab Bar    
Latest version: v1.4.0

Pager alternatives and similar libraries

Based on the "Tab Bar" category.
Alternatively, view Pager alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Pager or a related project?

Add another 'Tab Bar' Library

README

Language

Pager is the simplest and best way to implement sliding view controllers.

Installation

Drop in the Spring folder to your Xcode project.

Or via CocoaPods pre-release:

platform :ios, '8.0'
pod 'Pager'
use_frameworks!

Usage

Subclass PagerController (as it's a UIViewController subclass) and implement data source methods in the subclass.

Usage with Code

override func viewDidLoad() {
    super.viewDidLoad()
    self.dataSource = self
}

Data Source

func numberOfTabs(pager: PagerController) -> Int
func tabViewForIndex(index: Int, pager: PagerController) -> UIView
optional func viewForTabAtIndex(index: Int, pager: PagerController) -> UIView
optional func controllerForTabAtIndex(index: Int, pager: PagerController) -> UIViewController

Delegate

optional func didChangeTabToIndex(pager: PagerController, index: Int)
optional func didChangeTabToIndex(pager: PagerController, index: Int, previousIndex: Int)
optional func didChangeTabToIndex(pager: PagerController, index: Int, previousIndex: Int, swipe: Bool)

Contact

Pager is a port from CKViewPager to swift.

Licence

Pager is MIT licensed. See the LICENCE file for more info.


*Note that all licence references and agreements mentioned in the Pager README section above are relevant to that project's source code only.