An animate switch collection
- iOS 8.0+
- Xcode 9.0
- Swift 4.0
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
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"
- Download and drop
TKSwitcherCollection
in your project. - Congratulations!
Class | Example |
---|---|
TKSimpleSwitch | |
TKSimpleSwitch | |
TKExchangeSwitch | |
TKSmileSwitch | |
TKLiquidSwitch |
- 1.4.2
add
IBDesignable
/IBInspectable
support - 1.4.1 bugs fixed
- 1.4.0 support swift 4.0
- 1.3.1 support swift 3.0
- 1.0.3 Complete basic functions, add Cocoapod and Carthage support
We would love for you to contribute to TKSwitcherCollection, check the LICENSE
file for more info.
TBXark – @tbxark – tbxark@outlook.com
Distributed under the MIT license. See LICENSE
for more information.