SMSwipeableTabView

Swipeable Views with Tabs (Like Android SwipeView With Tabs Layout)

SMSwipeableTabView is a custom control which is mixture of UIPageViewController and Scrollable Tab Bar. This is similar to Swipe view with tabs alyout in android. Any number of tabs can be added along with the swipeable views. User can fully customize the control.

SMSwipeableTabView-is-a-custom-control-which-is-mixture-of-UIPageViewController

Usage

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

Requirements

This library works with iOS version 8.0 and above. It is written in Swift.

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 7

Installation

CocoaPods (iOS 8+, OS X 10.9+)

SMSwipeableTabView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

platform: ios, '8.0'
use_framework!

target 'MyApp' do
    pod "SMSwipeableTabView"
end

Carthage (iOS 8+, OS X 10.9+)

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 SMSwipeableTabView into your Xcode project using Carthage, specify it in your Cartfile:

github "smahajan28/SMSwipeableTabView"

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

GitHub