Skip to content

artsimonyan23/SwiftTabPager

Repository files navigation

SwiftTabPager

CI Status Version License Platform Carthage compatible

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate SwiftTabPager into your Xcode project using CocoaPods, specify it in your Podfile:

use_frameworks!

pod 'SwiftTabPager'

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate SwiftTabPager into your Xcode project using Carthage, specify it in your Cartfile:

github "artsimonyan23/SwiftTabPager"

Run carthage update to build the framework and drag the built SwiftTabPager.framework into your Xcode project.

Usage

Create TabPage view from Stroryboard or by code and set it. Call setTitles function and set Titles by array and closure which gave you selected index. See example in the project.

Author

Arthur Simonyan

License

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

About

SegmentedView with full UI control.

Resources

License

Stars

Watchers

Forks

Packages

No packages published