Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TBXark/TKSwitcherCollection
An animation switch collection
https://github.com/TBXark/TKSwitcherCollection
carthage cocoapods coreanimation ios ios-animation swift switcher ui uikit widget
Last synced: 5 days ago
JSON representation
An animation switch collection
- Host: GitHub
- URL: https://github.com/TBXark/TKSwitcherCollection
- Owner: TBXark
- License: mit
- Created: 2015-10-26T08:19:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T05:56:03.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T18:57:36.541Z (8 months ago)
- Topics: carthage, cocoapods, coreanimation, ios, ios-animation, swift, switcher, ui, uikit, widget
- Language: Swift
- Homepage:
- Size: 823 KB
- Stars: 914
- Watchers: 24
- Forks: 87
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - TKSwitcherCollection - An animate switch collection (UI / Switch)
- awesome-cocoa - TKSwitcherCollection
- awesome-ios-star - TKSwitcherCollection - An animate switch collection (UI / Switch)
- awesome-ios - TKSwitcherCollection - An animation switch collection. [•](https://raw.githubusercontent.com/TBXark/TKSwitcherCollection/master/Images/liquid.gif) (Content / Switch)
README
# TKSwitcherCollection
> An animate switch collection
![Xcode 9.0+](https://img.shields.io/badge/Xcode-9.0%2B-blue.svg)
![iOS 8.0+](https://img.shields.io/badge/iOS-8.0%2B-blue.svg)
![Swift 4.0+](https://img.shields.io/badge/Swift-4.0%2B-orange.svg)
[![Build Status](https://travis-ci.org/TBXark/TKSwitcherCollection.svg?branch=master)](https://travis-ci.org/TBXark/TKSwitcherCollection)
[![CocoaPods](http://img.shields.io/cocoapods/v/TKSwitcherCollection.svg?style=flat)](http://cocoapods.org/?q=TKSwitcherCollection)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/TBXark/TKSwitcherCollection/master/LICENSE)## Requirements
- iOS 8.0+
- Xcode 9.0
- Swift 4.0## Installation
#### CocoaPods
You can use [CocoaPods](http://cocoapods.org/) to install `TKSwitcherCollection` by adding it to your `Podfile`:
```ruby
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](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to
add `$(SRCROOT)/Carthage/Build/iOS/TKSwitcherCollection.framework` to an iOS project.```shell
github "tbxark/TKSwitcherCollection"
```#### Manually
1. Download and drop ```TKSwitcherCollection``` in your project.
2. Congratulations!## Usage example
| Class | Example |
|------------------|---------------------------------------------------------------|
| TKSimpleSwitch | |
| TKSimpleSwitch | |
| TKExchangeSwitch | |
| TKSmileSwitch | |
| TKLiquidSwitch | |## Release History
* 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## Contribute
We would love for you to contribute to **TKSwitcherCollection**, check the ``LICENSE`` file for more info.
## Meta
TBXark – [@tbxark](https://twitter.com/tbxark) – [email protected]
Distributed under the MIT license. See ``LICENSE`` for more information.
[https://github.com/TBXark](https://github.com/TBXark)
[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