Home

Awesome

TKSwitcherCollection

An animate switch collection

Xcode 9.0+ iOS 8.0+ Swift 4.0+ Build Status CocoaPods Carthage compatible License MIT

Requirements

Installation

CocoaPods

You can use CocoaPods to install TKSwitcherCollection by adding it to your Podfile:

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

To get the full benefits import TKSwitcherCollection wherever you import UIKit

import UIKit
import TKSwitcherCollection

Carthage

Create a Cartfile that lists the framework and run carthage update. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/TKSwitcherCollection.framework to an iOS project.

github "tbxark/TKSwitcherCollection"

Manually

  1. Download and drop TKSwitcherCollection in your project.
  2. Congratulations!

Usage example

ClassExample
TKSimpleSwitch<img src="Images/simple.gif" style="height:200;width:auto">
TKSimpleSwitch<img src="Images/simple2.gif" style="height:200;width:auto">
TKExchangeSwitch<img src="Images/exchange.gif" style="height:200;width:auto">
TKSmileSwitch<img src="Images/smile.gif" style="height:200;width:auto">
TKLiquidSwitch<img src="Images/liquid.gif" style="height:200;width:auto">

Release History

Contribute

We would love for you to contribute to TKSwitcherCollection, check the LICENSE file for more info.

Meta

TBXark – @tbxarktbxark@outlook.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/TBXark