An animation switch collection
TKSwitcherCollection
An animate switch collection
Requirements
- iOS 8.0+
- Xcode 9.0
- Swift 4.0
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
swift
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
- Download and drop
in your project. - Congratulations!
Usage example
| Class | Example | |------------------|---------------------------------------------------------------| | TKSimpleSwitch |
| | TKSimpleSwitch |
| | TKExchangeSwitch |
| | TKSmileSwitch |
| | TKLiquidSwitch |
|
Release History
- 1.4.2
IBDesignable/IBInspectable support
- 1.4.1
- 1.4.0
- 1.3.1
- 1.0.3
Contribute
We would love for you to contribute to TKSwitcherCollection, check the `LICENSE file for more info.
Meta
TBXark โ @tbxark โ tbxark@outlook.com
Distributed under the MIT license. See LICENSE` for more information.
[swift-image]:https://img.shields.io/badge/swift-3.0-orange.svg
[swift-url]: https://swift.org/
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
[license-url]: LICENSE
[travis-image]: https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/dbader/node-datadog-metrics
[codebeat-image]: https://codebeat.co/badges/c19b47ea-2f9d-45df-8458-b2d952fe9dad
[codebeat-url]: https://codebeat.co/projects/github-com-vsouza-awesomeios-com