{"id":2787,"url":"https://github.com/TBXark/TKSwitcherCollection","last_synced_at":"2025-08-03T12:31:05.774Z","repository":{"id":41562667,"uuid":"44954946","full_name":"TBXark/TKSwitcherCollection","owner":"TBXark","description":"An animation switch collection","archived":false,"fork":false,"pushed_at":"2024-08-21T09:13:19.000Z","size":844,"stargazers_count":921,"open_issues_count":3,"forks_count":89,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-23T09:28:49.366Z","etag":null,"topics":["carthage","cocoapods","coreanimation","ios","ios-animation","swift","switcher","ui","uikit","widget"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TBXark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-26T08:19:54.000Z","updated_at":"2025-04-21T07:21:00.000Z","dependencies_parsed_at":"2025-04-03T18:11:59.180Z","dependency_job_id":"141b3b24-ec15-4086-a89d-445a20073cea","html_url":"https://github.com/TBXark/TKSwitcherCollection","commit_stats":{"total_commits":39,"total_committers":3,"mean_commits":13.0,"dds":0.5128205128205128,"last_synced_commit":"44203149b64c0010969225f1b4e57e15ae7b8a0e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/TBXark/TKSwitcherCollection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2FTKSwitcherCollection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2FTKSwitcherCollection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2FTKSwitcherCollection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2FTKSwitcherCollection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TBXark","download_url":"https://codeload.github.com/TBXark/TKSwitcherCollection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TBXark%2FTKSwitcherCollection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267347388,"owners_count":24072672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["carthage","cocoapods","coreanimation","ios","ios-animation","swift","switcher","ui","uikit","widget"],"created_at":"2024-01-05T20:16:22.851Z","updated_at":"2025-08-03T12:31:05.202Z","avatar_url":"https://github.com/TBXark.png","language":"Swift","funding_links":[],"categories":["UI","Toggle","Swift","Content"],"sub_categories":["Switch","Layout","Other free courses"],"readme":"# TKSwitcherCollection\n\n\u003e An animate switch collection\n\n![Xcode 9.0+](https://img.shields.io/badge/Xcode-9.0%2B-blue.svg)\n![iOS 8.0+](https://img.shields.io/badge/iOS-8.0%2B-blue.svg)\n![Swift 4.0+](https://img.shields.io/badge/Swift-4.0%2B-orange.svg)\n[![Build Status](https://travis-ci.org/TBXark/TKSwitcherCollection.svg?branch=master)](https://travis-ci.org/TBXark/TKSwitcherCollection)\n[![CocoaPods](http://img.shields.io/cocoapods/v/TKSwitcherCollection.svg?style=flat)](http://cocoapods.org/?q=TKSwitcherCollection)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/TBXark/TKSwitcherCollection/master/LICENSE)\n\n## Requirements\n\n- iOS 8.0+\n- Xcode 9.0\n- Swift 4.0\n\n## Installation\n\n#### CocoaPods\n\nYou can use [CocoaPods](http://cocoapods.org/) to install `TKSwitcherCollection` by adding it to your `Podfile`:\n\n```ruby\nplatform :ios, '8.0'\nuse_frameworks!\npod 'TKSwitcherCollection'\n```\n\nTo get the full benefits import `TKSwitcherCollection` wherever you import UIKit\n\n``` swift\nimport UIKit\nimport TKSwitcherCollection\n```\n\n#### Carthage\n\nCreate a `Cartfile` that lists the framework and run `carthage update`. Follow\nthe [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to\nadd `$(SRCROOT)/Carthage/Build/iOS/TKSwitcherCollection.framework` to an iOS project.\n\n```shell\ngithub \"tbxark/TKSwitcherCollection\"\n```\n\n#### Manually\n\n1. Download and drop ```TKSwitcherCollection``` in your project.\n2. Congratulations!\n\n## Usage example\n\n| Class            | Example                                                       |\n|------------------|---------------------------------------------------------------|\n| TKSimpleSwitch   | \u003cimg src=\"Images/simple.gif\" style=\"height:200;width:auto\"\u003e   |  \n| TKSimpleSwitch   | \u003cimg src=\"Images/simple2.gif\" style=\"height:200;width:auto\"\u003e  |  \n| TKExchangeSwitch | \u003cimg src=\"Images/exchange.gif\" style=\"height:200;width:auto\"\u003e |  \n| TKSmileSwitch    | \u003cimg src=\"Images/smile.gif\" style=\"height:200;width:auto\"\u003e    |  \n| TKLiquidSwitch   | \u003cimg src=\"Images/liquid.gif\" style=\"height:200;width:auto\"\u003e   |  \n\n## Release History\n\n* 1.4.2\n  add `IBDesignable`/`IBInspectable` support\n* 1.4.1\n  bugs fixed\n* 1.4.0\n  support swift 4.0\n* 1.3.1\n  support swift 3.0\n* 1.0.3\n  Complete basic functions, add Cocoapod and Carthage support\n\n## Contribute\n\nWe would love for you to contribute to **TKSwitcherCollection**, check the ``LICENSE`` file for more info.\n\n## Meta\n\nTBXark – [@tbxark](https://twitter.com/tbxark) – tbxark@outlook.com\n\nDistributed under the MIT license. See ``LICENSE`` for more information.\n\n[https://github.com/TBXark](https://github.com/TBXark)\n\n[swift-image]:https://img.shields.io/badge/swift-3.0-orange.svg\n\n[swift-url]: https://swift.org/\n\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n\n[license-url]: LICENSE\n\n[travis-image]: https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square\n\n[travis-url]: https://travis-ci.org/dbader/node-datadog-metrics\n\n[codebeat-image]: https://codebeat.co/badges/c19b47ea-2f9d-45df-8458-b2d952fe9dad\n\n[codebeat-url]: https://codebeat.co/projects/github-com-vsouza-awesomeios-com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTBXark%2FTKSwitcherCollection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTBXark%2FTKSwitcherCollection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTBXark%2FTKSwitcherCollection/lists"}